Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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.001131/0.00113, allocations: 109.5 kB / 16.27 MB, free: 6.012 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.001251/0.001251, allocations: 186.1 kB / 17.2 MB, free: 5.625 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.266/1.266, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7182/0.7182, allocations: 122.8 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.89 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2948, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1463/0.4411, allocations: 161.5 MB / 0.725 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.4437, allocations: 1.715 MB / 0.7267 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.4441, allocations: 7.938 kB / 0.7267 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.4446, allocations: 162.9 kB / 0.7268 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.4458, allocations: 0.5056 MB / 0.7273 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.4469, allocations: 424.5 kB / 0.7277 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006896/0.4476, allocations: 0.5692 MB / 0.7283 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.4479, allocations: 184.5 kB / 0.7284 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005777/0.4485, allocations: 318.7 kB / 0.7288 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.4487, allocations: 155.4 kB / 0.7289 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.4487, allocations: 12 kB / 0.7289 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.4497, allocations: 0.6937 MB / 0.7296 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.62e-05/0.4498, allocations: 79.72 kB / 0.7297 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.45, allocations: 111.4 kB / 0.7298 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006856/0.4507, allocations: 0.4907 MB / 0.7303 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4507, allocations: 4 kB / 0.7303 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.62e-07/0.4507, allocations: 0 / 0.7303 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.4507, allocations: 0 / 0.7303 GB, free: 3.383 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007574/0.4515, allocations: 0.5892 MB / 0.7308 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4515, allocations: 8.625 kB / 0.7308 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.4516, allocations: 46.55 kB / 0.7309 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/0.4519, allocations: 59.59 kB / 0.7309 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.4522, allocations: 285.3 kB / 0.7312 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.4523, allocations: 12 kB / 0.7312 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.4523, allocations: 12 kB / 0.7312 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.4526, allocations: 200 kB / 0.7314 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.4526, allocations: 0 / 0.7314 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.4527, allocations: 8 kB / 0.7314 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4527, allocations: 0 / 0.7314 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.453, allocations: 131.8 kB / 0.7316 GB, free: 1.938 MB / 0.5606 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.000898/0.4539, allocations: 0.7887 MB / 0.7323 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.4541, allocations: 82.47 kB / 0.7324 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.4543, allocations: 76.88 kB / 0.7325 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.4546, allocations: 186.2 kB / 0.7327 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.4546, allocations: 38.56 kB / 0.7327 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.4546, allocations: 0 / 0.7327 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006413/0.4552, allocations: 217.2 kB / 0.7329 GB, free: 436 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.4553, allocations: 51.78 kB / 0.733 GB, free: 372 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.4555, allocations: 279 kB / 0.7332 GB, free: 80 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.4556, allocations: 25.7 kB / 0.7332 GB, free: 48 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.939e-05/0.4557, allocations: 147.9 kB / 0.7334 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.4557, allocations: 31.5 kB / 0.7334 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.4558, allocations: 33.7 kB / 0.7334 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4559, allocations: 334.8 kB / 0.7338 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.456, allocations: 48.77 kB / 0.7338 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.4562, allocations: 97.05 kB / 0.7339 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.4564, allocations: 115.3 kB / 0.734 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4565, allocations: 4 kB / 0.734 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003357/0.4568, allocations: 161.3 kB / 0.7342 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.4568, allocations: 4 kB / 0.7342 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.4568, allocations: 3.938 kB / 0.7342 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4568, allocations: 4 kB / 0.7342 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.457, allocations: 23.98 kB / 0.7342 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.457, allocations: 3.938 kB / 0.7342 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.4572, allocations: 23.98 kB / 0.7342 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.4572, allocations: 8 kB / 0.7342 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001892/0.4574, allocations: 148.7 kB / 0.7344 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001496/0.4576, allocations: 85.11 kB / 0.7345 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002387/0.4578, allocations: 131.4 kB / 0.7346 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.4578, allocations: 0 / 0.7346 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000307/0.4581, allocations: 145.4 kB / 0.7347 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.4581, allocations: 4 kB / 0.7347 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.4581, allocations: 0 / 0.7347 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.4582, allocations: 7.938 kB / 0.7347 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.4583, allocations: 27.95 kB / 0.7348 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.4583, allocations: 0 / 0.7348 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.4585, allocations: 27.81 kB / 0.7348 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.4585, allocations: 8 kB / 0.7348 GB, free: 14.35 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 9.918e-05/0.4586, allocations: 180.3 kB / 0.735 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.4586, allocations: 23.72 kB / 0.735 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.459, allocations: 179.5 kB / 0.7352 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.459, allocations: 0 / 0.7352 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.459, allocations: 0 / 0.7352 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4591, allocations: 0 / 0.7352 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008631/0.4599, allocations: 0.5937 MB / 0.7357 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4599, allocations: 0 / 0.7357 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.4601, allocations: 23.98 kB / 0.7358 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4601, allocations: 0 / 0.7358 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4601, allocations: 4 kB / 0.7358 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4601, allocations: 7.938 kB / 0.7358 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4601, allocations: 4.156 kB / 0.7358 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.4605, allocations: 301.1 kB / 0.7361 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.4606, allocations: 116.8 kB / 0.7362 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.4606, allocations: 4 kB / 0.7362 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.4608, allocations: 12.17 kB / 0.7362 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.4609, allocations: 15.92 kB / 0.7362 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4609, allocations: 11.98 kB / 0.7362 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001636/0.4611, allocations: 197.9 kB / 0.7364 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4611, allocations: 0 / 0.7364 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004457/0.4615, allocations: 95.84 kB / 0.7365 GB, free: 12.46 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (10): * Single equations (assignments): 10 * 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.0007859/0.4623, allocations: 0.8914 MB / 0.7374 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.4627, allocations: 171.7 kB / 0.7375 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4628, allocations: 0 / 0.7375 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.4629, allocations: 63.89 kB / 0.7376 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.4636, allocations: 113.2 kB / 0.7377 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.4661, allocations: 2.354 MB / 0.74 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.4664, allocations: 0.7558 MB / 0.7407 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.4666, allocations: 69.89 kB / 0.7408 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.4667, allocations: 71.41 kB / 0.7409 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.4667, allocations: 0 / 0.7409 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.4887, allocations: 6.843 MB / 0.7476 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.132/7.62, allocations: 7.859 kB / 0.7476 GB, free: 1.113 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)