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.001123/0.001123, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 274.8 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9887/0.9887, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 100.7 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1359, allocations: 86.98 MB / 0.6803 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.5066/0.6425, allocations: 239.8 MB / 0.9145 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.653, allocations: 7.148 MB / 0.9215 GB, free: 292 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.6543, allocations: 51.69 kB / 0.9215 GB, free: 240 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.6555, allocations: 0.5085 MB / 0.922 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.6592, allocations: 1.317 MB / 0.9233 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005506/0.6647, allocations: 1.588 MB / 0.9249 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002945/0.6677, allocations: 1.932 MB / 0.9268 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.6696, allocations: 0.805 MB / 0.9275 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004527/0.6741, allocations: 1.405 MB / 0.9289 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.6757, allocations: 0.6654 MB / 0.9296 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.676, allocations: 76 kB / 0.9296 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/0.6803, allocations: 1.477 MB / 0.9311 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005659/0.6809, allocations: 291.1 kB / 0.9314 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009843/0.6819, allocations: 481.7 kB / 0.9318 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.6855, allocations: 1.617 MB / 0.9334 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6856, allocations: 0 / 0.9334 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6856, allocations: 0 / 0.9334 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.345e-05/0.6856, allocations: 0 / 0.9334 GB, free: 4.055 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.003228/0.6888, allocations: 1.262 MB / 0.9346 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.6889, allocations: 12.03 kB / 0.9346 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.689, allocations: 98.39 kB / 0.9347 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.6909, allocations: 282.6 kB / 0.935 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.6924, allocations: 0.6555 MB / 0.9356 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.6925, allocations: 37 kB / 0.9357 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.6927, allocations: 55.91 kB / 0.9357 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.6942, allocations: 0.5959 MB / 0.9363 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.6942, allocations: 0 / 0.9363 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.6943, allocations: 24 kB / 0.9363 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.6943, allocations: 12 kB / 0.9364 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.6959, allocations: 0.6012 MB / 0.9369 GB, free: 332 kB / 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.005789/0.7017, allocations: 2.9 MB / 0.9398 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009358/0.7027, allocations: 389.9 kB / 0.9401 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/0.7034, allocations: 281.3 kB / 0.9404 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009406/0.7043, allocations: 396.6 kB / 0.9408 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.7044, allocations: 42.89 kB / 0.9408 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007833/0.7052, allocations: 115.5 kB / 0.9409 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 3.657e-06/0.7052, allocations: 0 / 0.9409 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.00254/0.7077, allocations: 0.8093 MB / 0.9417 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.7078, allocations: 63.34 kB / 0.9418 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.709, allocations: 0.6963 MB / 0.9425 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.7091, allocations: 29.7 kB / 0.9425 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/0.7095, allocations: 368.4 kB / 0.9428 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.7097, allocations: 134 kB / 0.943 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.71, allocations: 97.94 kB / 0.9431 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.7102, allocations: 322 kB / 0.9434 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/0.7108, allocations: 212.5 kB / 0.9436 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000718/0.7115, allocations: 296.8 kB / 0.9439 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.7128, allocations: 0.4928 MB / 0.9443 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.7128, allocations: 2 kB / 0.9443 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001764/0.7146, allocations: 0.6214 MB / 0.945 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.7146, allocations: 8 kB / 0.945 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.7146, allocations: 0 / 0.945 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.7146, allocations: 4 kB / 0.945 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.7154, allocations: 107.9 kB / 0.9451 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.7154, allocations: 3.938 kB / 0.9451 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007715/0.7162, allocations: 31.97 kB / 0.9451 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/0.7163, allocations: 27.97 kB / 0.9451 GB, free: 7.484 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.0003955/0.7167, allocations: 210.4 kB / 0.9453 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.7169, allocations: 79.06 kB / 0.9454 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.7188, allocations: 0.6473 MB / 0.946 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.7188, allocations: 4 kB / 0.946 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.7188, allocations: 7.938 kB / 0.946 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.7188, allocations: 3.984 kB / 0.9461 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/0.7223, allocations: 1.512 MB / 0.9475 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.7223, allocations: 4 kB / 0.9475 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.7229, allocations: 89.58 kB / 0.9476 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.723, allocations: 4 kB / 0.9476 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.723, allocations: 16.41 kB / 0.9476 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.068e-05/0.7231, allocations: 15.92 kB / 0.9477 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.7231, allocations: 7.938 kB / 0.9477 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.7255, allocations: 1.053 MB / 0.9487 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.726, allocations: 192.1 kB / 0.9489 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.7261, allocations: 16 kB / 0.9489 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/0.7269, allocations: 27.91 kB / 0.9489 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.727, allocations: 43.89 kB / 0.949 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.7271, allocations: 12 kB / 0.949 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008493/0.728, allocations: 0.4912 MB / 0.9494 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.7e-07/0.728, allocations: 0 / 0.9494 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009075/0.7289, allocations: 195.8 kB / 0.9496 GB, free: 2.688 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.003221/0.7321, allocations: 1.711 MB / 0.9513 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.7337, allocations: 0.5309 MB / 0.9518 GB, free: 400 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7337, allocations: 0 / 0.9518 GB, free: 400 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007061/0.7344, allocations: 277.8 kB / 0.9521 GB, free: 124 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/0.7373, allocations: 463.2 kB / 0.9525 GB, free: 15.68 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.7527, allocations: 6.685 MB / 0.9591 GB, free: 8.754 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.7533, allocations: 0.9651 MB / 0.96 GB, free: 7.762 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007218/0.754, allocations: 174.4 kB / 0.9602 GB, free: 7.586 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.7544, allocations: 287.3 kB / 0.9604 GB, free: 7.305 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.7544, allocations: 0 / 0.9604 GB, free: 7.305 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05147/0.8059, allocations: 22.86 MB / 0.9828 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/8.362, allocations: 5.078 kB / 0.9828 GB, free: 0.8984 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)