Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",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.6797/0.6797, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009261/0.0009261, allocations: 183.7 kB / 187.3 MB, free: 11.88 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.204/1.204, allocations: 221.3 MB / 441.4 MB, free: 4.652 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.0008639/0.0008641, allocations: 98.47 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001614/0.001614, allocations: 271.3 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.029e-05/4.031e-05, allocations: 11.94 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3756, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.644/4.02, allocations: 1.889 GB / 2.653 GB, free: 158.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/4.02, allocations: 87.95 kB / 2.653 GB, free: 158.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.377/6.397, allocations: 0.7976 GB / 3.451 GB, free: 108.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.192e-06/6.397, allocations: 0 / 3.451 GB, free: 108.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.165e-05/6.397, allocations: 27.2 kB / 3.451 GB, free: 108.3 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002389/6.399, allocations: 1.189 MB / 3.452 GB, free: 107.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/6.399, allocations: 11.12 kB / 3.452 GB, free: 107.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/6.399, allocations: 93.28 kB / 3.452 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/6.401, allocations: 278.5 kB / 3.452 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/6.402, allocations: 0.7575 MB / 3.453 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/6.402, allocations: 41.47 kB / 3.453 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-05/6.402, allocations: 53.67 kB / 3.453 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/6.403, allocations: 0.5545 MB / 3.454 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/6.403, allocations: 3.703 kB / 3.454 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/6.403, allocations: 17.56 kB / 3.454 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/6.403, allocations: 14.94 kB / 3.454 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/6.404, allocations: 0.5527 MB / 3.454 GB, free: 107.3 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.003309/6.407, allocations: 2.928 MB / 3.457 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/6.408, allocations: 370.3 kB / 3.458 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/6.408, allocations: 260.2 kB / 3.458 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005124/6.409, allocations: 407.5 kB / 3.458 GB, free: 105.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/6.409, allocations: 30.89 kB / 3.458 GB, free: 105.5 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008732/6.41, allocations: 282.4 kB / 3.458 GB, free: 105.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.216e-06/6.41, allocations: 0 / 3.458 GB, free: 105.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.000944/6.411, allocations: 0.5372 MB / 3.459 GB, free: 105.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/6.411, allocations: 62.73 kB / 3.459 GB, free: 105.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/6.411, allocations: 0.5861 MB / 3.46 GB, free: 105.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/6.411, allocations: 35.14 kB / 3.46 GB, free: 105.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/6.411, allocations: 358.5 kB / 3.46 GB, free: 105 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/6.411, allocations: 142.6 kB / 3.46 GB, free: 105 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/6.412, allocations: 6.594 kB / 3.46 GB, free: 105 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.062e-05/6.412, allocations: 322.4 kB / 3.46 GB, free: 104.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/6.412, allocations: 183.8 kB / 3.461 GB, free: 104.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/6.412, allocations: 299.2 kB / 3.461 GB, free: 104.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/6.412, allocations: 211.1 kB / 3.461 GB, free: 104.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/6.412, allocations: 3.906 kB / 3.461 GB, free: 104.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007528/6.413, allocations: 0.5685 MB / 3.462 GB, free: 104.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/6.413, allocations: 3.281 kB / 3.462 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/6.413, allocations: 7.031 kB / 3.462 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/6.413, allocations: 2.156 kB / 3.462 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/6.414, allocations: 103 kB / 3.462 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/6.414, allocations: 7.594 kB / 3.462 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/6.414, allocations: 77.59 kB / 3.462 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/6.414, allocations: 22.83 kB / 3.462 GB, free: 104.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.921e-05/6.415, allocations: 123.7 kB / 3.462 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.835e-05/6.415, allocations: 84.89 kB / 3.462 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009781/6.416, allocations: 0.5861 MB / 3.463 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/6.416, allocations: 3.906 kB / 3.463 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/6.416, allocations: 0 / 3.463 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/6.416, allocations: 6.438 kB / 3.463 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/6.418, allocations: 1.454 MB / 3.464 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/6.418, allocations: 6.812 kB / 3.464 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/6.418, allocations: 86.94 kB / 3.464 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/6.418, allocations: 11.38 kB / 3.464 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/6.418, allocations: 11.59 kB / 3.464 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/6.418, allocations: 13.17 kB / 3.464 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/6.418, allocations: 7.312 kB / 3.464 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/6.419, allocations: 1.091 MB / 3.465 GB, free: 103.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/6.42, allocations: 200.4 kB / 3.465 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.563e-05/6.42, allocations: 14.67 kB / 3.465 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005217/6.42, allocations: 54.91 kB / 3.466 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/6.42, allocations: 30.73 kB / 3.466 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/6.42, allocations: 17.25 kB / 3.466 GB, free: 103.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004463/6.421, allocations: 486.6 kB / 3.466 GB, free: 103.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.8e-07/6.421, allocations: 0 / 3.466 GB, free: 103.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001224/6.422, allocations: 405.4 kB / 3.466 GB, free: 103.1 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 (42): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00361/6.426, allocations: 4.547 MB / 3.471 GB, free: 100.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006427/6.426, allocations: 454.5 kB / 3.471 GB, free: 100.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/6.426, allocations: 0 / 3.471 GB, free: 100.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/6.427, allocations: 243.8 kB / 3.472 GB, free: 100.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/6.429, allocations: 497.5 kB / 3.472 GB, free: 100.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/6.433, allocations: 1.642 MB / 3.474 GB, free: 100 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/6.434, allocations: 0.9842 MB / 3.475 GB, free: 99.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006495/6.434, allocations: 176.8 kB / 3.475 GB, free: 99.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/6.435, allocations: 282.4 kB / 3.475 GB, free: 99.29 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/6.435, allocations: 0 / 3.475 GB, free: 99.29 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07117/6.506, allocations: 58.63 MB / 3.532 GB, free: 51.55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/6.506, allocations: 230.5 kB / 3.532 GB, free: 51.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.729/10.24, allocations: 0 / 3.532 GB, free: 51.25 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)