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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 193.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001915/0.001915, allocations: 274.9 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8606/0.8606, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 91.33 kB / 0.5946 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1459, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.4838/0.6297, allocations: 237.7 MB / 0.9117 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.6403, allocations: 7.232 MB / 0.9187 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.6414, allocations: 47.69 kB / 0.9188 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.6426, allocations: 429.6 kB / 0.9192 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.6452, allocations: 1.234 MB / 0.9204 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/0.6484, allocations: 1.47 MB / 0.9218 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002472/0.6508, allocations: 2.697 MB / 0.9245 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008307/0.6517, allocations: 0.6842 MB / 0.9251 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.654, allocations: 1.3 MB / 0.9264 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00071/0.6547, allocations: 0.6887 MB / 0.9271 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.484e-05/0.6548, allocations: 48 kB / 0.9271 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.6574, allocations: 1.761 MB / 0.9289 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.6576, allocations: 267.1 kB / 0.9291 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.6581, allocations: 461.5 kB / 0.9295 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.6599, allocations: 1.698 MB / 0.9312 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6599, allocations: 0 / 0.9312 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6599, allocations: 4 kB / 0.9312 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.6599, allocations: 0 / 0.9312 GB, free: 6.062 MB / 0.6387 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.002076/0.662, allocations: 1.262 MB / 0.9324 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.662, allocations: 8.031 kB / 0.9324 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.6622, allocations: 94.52 kB / 0.9325 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.6638, allocations: 278.6 kB / 0.9328 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009044/0.6647, allocations: 0.6594 MB / 0.9334 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.6648, allocations: 41 kB / 0.9335 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.439e-05/0.6649, allocations: 51.91 kB / 0.9335 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.6659, allocations: 0.5998 MB / 0.9341 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.6659, allocations: 0 / 0.9341 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.666, allocations: 20 kB / 0.9341 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.666, allocations: 12 kB / 0.9342 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.6671, allocations: 0.6012 MB / 0.9347 GB, free: 2.336 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00344/0.6705, allocations: 2.88 MB / 0.9376 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.6712, allocations: 397.2 kB / 0.9379 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.6716, allocations: 273.3 kB / 0.9382 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.6723, allocations: 400.7 kB / 0.9386 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.6723, allocations: 42.83 kB / 0.9386 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005966/0.6729, allocations: 187.4 kB / 0.9388 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.6729, allocations: 4 kB / 0.9388 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.001656/0.6746, allocations: 0.7898 MB / 0.9396 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.6746, allocations: 63.33 kB / 0.9396 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007474/0.6754, allocations: 0.6963 MB / 0.9403 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.6754, allocations: 33.7 kB / 0.9403 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.6757, allocations: 364.4 kB / 0.9407 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.6758, allocations: 134 kB / 0.9408 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.6759, allocations: 89.94 kB / 0.9409 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.676, allocations: 322 kB / 0.9412 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.6764, allocations: 200.6 kB / 0.9414 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.6769, allocations: 300.8 kB / 0.9417 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/0.6778, allocations: 488.4 kB / 0.9422 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6778, allocations: 0 / 0.9422 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001037/0.6788, allocations: 0.6051 MB / 0.9427 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.6788, allocations: 7.938 kB / 0.9428 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.6788, allocations: 0 / 0.9428 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.6789, allocations: 4 kB / 0.9428 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.6794, allocations: 111.9 kB / 0.9429 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.6794, allocations: 11.94 kB / 0.9429 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.6799, allocations: 51.94 kB / 0.9429 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.68, allocations: 24.92 kB / 0.9429 GB, free: 9.477 MB / 0.6544 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002482/0.6802, allocations: 214.3 kB / 0.9432 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.6804, allocations: 78.97 kB / 0.9432 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.6816, allocations: 0.6338 MB / 0.9438 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6816, allocations: 4 kB / 0.9438 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.6816, allocations: 3.938 kB / 0.9439 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6816, allocations: 3.984 kB / 0.9439 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.6838, allocations: 1.491 MB / 0.9453 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6839, allocations: 4 kB / 0.9453 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.6843, allocations: 87.83 kB / 0.9454 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.6843, allocations: 4 kB / 0.9454 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.6844, allocations: 15.98 kB / 0.9454 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.6844, allocations: 4 kB / 0.9454 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6844, allocations: 8 kB / 0.9454 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.6859, allocations: 1.022 MB / 0.9464 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.6861, allocations: 200.1 kB / 0.9466 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.6862, allocations: 12 kB / 0.9466 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.6868, allocations: 51.8 kB / 0.9467 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.6869, allocations: 39.83 kB / 0.9467 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.6869, allocations: 16 kB / 0.9467 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005556/0.6875, allocations: 0.4912 MB / 0.9472 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6875, allocations: 0 / 0.9472 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005483/0.688, allocations: 191.8 kB / 0.9474 GB, free: 4.734 MB / 0.6544 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002144/0.6902, allocations: 1.698 MB / 0.9491 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009315/0.6911, allocations: 491.3 kB / 0.9495 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6911, allocations: 0 / 0.9495 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.6916, allocations: 269.3 kB / 0.9498 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.6938, allocations: 495.8 kB / 0.9503 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.7054, allocations: 6.84 MB / 0.9569 GB, free: 10.68 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.706, allocations: 0.969 MB / 0.9579 GB, free: 9.688 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006765/0.7067, allocations: 179.9 kB / 0.958 GB, free: 9.508 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.7071, allocations: 287.3 kB / 0.9583 GB, free: 9.227 MB / 0.67 GB Notification: Performance of SimCode: time 4.9e-07/0.7071, allocations: 0 / 0.9583 GB, free: 9.227 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.7432, allocations: 22.12 MB / 0.9799 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.7434, allocations: 295.1 kB / 0.9802 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/2.856, allocations: 4 kB / 0.9802 GB, free: 3.188 MB / 0.6856 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/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)