Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8977/0.8977, allocations: 141.8 MB / 149.3 MB, free: 9.188 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 168.9 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.5 MB / 436.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 93.78 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001608/0.001609, allocations: 275.1 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.715e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4339, allocations: 82.78 MB / 0.7575 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.715/5.149, allocations: 1.887 GB / 2.645 GB, free: 131.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/5.149, allocations: 86.52 kB / 2.645 GB, free: 131.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.93/8.079, allocations: 0.7921 GB / 3.437 GB, free: 110.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.011e-06/8.079, allocations: 0 / 3.437 GB, free: 110.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.012e-05/8.079, allocations: 25.55 kB / 3.437 GB, free: 110.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002386/8.082, allocations: 1.212 MB / 3.438 GB, free: 110.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/8.082, allocations: 10.25 kB / 3.438 GB, free: 110.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/8.083, allocations: 283.5 kB / 3.439 GB, free: 110.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/8.085, allocations: 0.7482 MB / 3.439 GB, free: 109.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/8.085, allocations: 18.98 kB / 3.439 GB, free: 109.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.25e-05/8.085, allocations: 35.14 kB / 3.439 GB, free: 109.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007762/8.086, allocations: 0.5351 MB / 3.44 GB, free: 109.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007644/8.086, allocations: 0.5073 MB / 3.44 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/8.086, allocations: 0 / 3.44 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/8.086, allocations: 6.047 kB / 3.44 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/8.086, allocations: 10.22 kB / 3.44 GB, free: 109.8 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/8.089, allocations: 2.558 MB / 3.443 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/8.09, allocations: 482.7 kB / 3.443 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/8.091, allocations: 308.2 kB / 3.444 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000526/8.091, allocations: 412.4 kB / 3.444 GB, free: 108.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/8.091, allocations: 41.69 kB / 3.444 GB, free: 108.2 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008804/8.092, allocations: 285.1 kB / 3.444 GB, free: 108.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.474e-06/8.092, allocations: 0 / 3.444 GB, free: 108.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001742/8.094, allocations: 0.7669 MB / 3.445 GB, free: 108.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/8.094, allocations: 62.75 kB / 3.445 GB, free: 108 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005962/8.094, allocations: 457.4 kB / 3.446 GB, free: 107.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/8.094, allocations: 33.23 kB / 3.446 GB, free: 107.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/8.095, allocations: 343.9 kB / 3.446 GB, free: 107.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/8.095, allocations: 154.6 kB / 3.446 GB, free: 107.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/8.095, allocations: 2.938 kB / 3.446 GB, free: 107.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001113/8.095, allocations: 374.5 kB / 3.446 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/8.095, allocations: 212.4 kB / 3.447 GB, free: 107.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/8.096, allocations: 328.9 kB / 3.447 GB, free: 107.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/8.096, allocations: 327.4 kB / 3.447 GB, free: 107.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/8.096, allocations: 0 / 3.447 GB, free: 107.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001248/8.097, allocations: 0.7441 MB / 3.448 GB, free: 107.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/8.098, allocations: 276.7 kB / 3.448 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/8.098, allocations: 7.438 kB / 3.448 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/8.098, allocations: 61.52 kB / 3.448 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/8.098, allocations: 91.7 kB / 3.448 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004928/8.099, allocations: 0.6492 MB / 3.449 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/8.1, allocations: 65.75 kB / 3.449 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-05/8.1, allocations: 24.77 kB / 3.449 GB, free: 106.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/8.1, allocations: 3.469 kB / 3.449 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/8.101, allocations: 0.6183 MB / 3.45 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/8.101, allocations: 0 / 3.45 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/8.101, allocations: 61.2 kB / 3.45 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/8.102, allocations: 95.28 kB / 3.45 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/8.103, allocations: 1.653 MB / 3.452 GB, free: 105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/8.104, allocations: 63.08 kB / 3.452 GB, free: 105 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/8.104, allocations: 22.66 kB / 3.452 GB, free: 105 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001669/8.104, allocations: 116.8 kB / 3.452 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00114/8.105, allocations: 0.7172 MB / 3.452 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/8.105, allocations: 78.39 kB / 3.452 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/8.107, allocations: 0.7613 MB / 3.453 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/8.107, allocations: 9.25 kB / 3.453 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/8.107, allocations: 0 / 3.453 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/8.107, allocations: 3.797 kB / 3.453 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/8.109, allocations: 1.596 MB / 3.455 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/8.109, allocations: 3.219 kB / 3.455 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/8.11, allocations: 102.4 kB / 3.455 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/8.11, allocations: 44.5 kB / 3.455 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/8.11, allocations: 16.47 kB / 3.455 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002589/8.11, allocations: 0.6114 MB / 3.456 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/8.11, allocations: 3.156 kB / 3.456 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/8.111, allocations: 1.255 MB / 3.457 GB, free: 103.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/8.112, allocations: 191.4 kB / 3.457 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.671e-05/8.112, allocations: 15.12 kB / 3.457 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00068/8.112, allocations: 87.41 kB / 3.457 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/8.113, allocations: 48.33 kB / 3.457 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/8.113, allocations: 17.38 kB / 3.457 GB, free: 103 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003364/8.113, allocations: 358.1 kB / 3.457 GB, free: 102.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/8.113, allocations: 0 / 3.457 GB, free: 102.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001606/8.115, allocations: 0.5308 MB / 3.458 GB, free: 102.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004255/8.119, allocations: 4.918 MB / 3.463 GB, free: 100 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001377/8.12, allocations: 0.9264 MB / 3.464 GB, free: 99.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/8.12, allocations: 0 / 3.464 GB, free: 99.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/8.121, allocations: 268.8 kB / 3.464 GB, free: 99.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/8.123, allocations: 460.2 kB / 3.464 GB, free: 99.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/8.128, allocations: 1.634 MB / 3.466 GB, free: 98.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/8.129, allocations: 0.9941 MB / 3.467 GB, free: 98.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001087/8.13, allocations: 260 kB / 3.467 GB, free: 98.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/8.13, allocations: 264.1 kB / 3.467 GB, free: 97.95 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/8.13, allocations: 0 / 3.467 GB, free: 97.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06011/8.19, allocations: 37.72 MB / 3.504 GB, free: 66.57 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/8.191, allocations: 206.4 kB / 3.504 GB, free: 66.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.29/11.48, allocations: 0 / 3.504 GB, free: 66.3 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)