Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",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.001035/0.001036, allocations: 108.8 kB / 16.41 MB, free: 6.5 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.0009933/0.0009933, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7412/0.7412, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.17 kB / 0.5679 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1126, allocations: 77.92 MB / 0.644 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.4146/0.5273, allocations: 183.2 MB / 0.823 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006393/0.5337, allocations: 4.865 MB / 0.8277 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003995/0.5341, allocations: 31.47 kB / 0.8278 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009636/0.5351, allocations: 450.4 kB / 0.8282 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002676/0.5378, allocations: 1.468 MB / 0.8296 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.5393, allocations: 0.7814 MB / 0.8304 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.5409, allocations: 1.855 MB / 0.8322 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006694/0.5416, allocations: 0.6057 MB / 0.8328 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.5429, allocations: 0.8922 MB / 0.8337 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009154/0.5439, allocations: 0.5453 MB / 0.8342 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.027e-05/0.544, allocations: 57.91 kB / 0.8342 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.5459, allocations: 1.415 MB / 0.8356 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.5462, allocations: 264.3 kB / 0.8359 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.5465, allocations: 403.8 kB / 0.8363 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.5481, allocations: 1.428 MB / 0.8377 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5482, allocations: 2.312 kB / 0.8377 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5482, allocations: 0 / 0.8377 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.547e-06/0.5482, allocations: 4 kB / 0.8377 GB, free: 1.379 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001573/0.5498, allocations: 1.12 MB / 0.8388 GB, free: 492 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.5498, allocations: 10.72 kB / 0.8388 GB, free: 492 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.348e-05/0.5499, allocations: 86.23 kB / 0.8388 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.5512, allocations: 218.7 kB / 0.8391 GB, free: 308 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/0.5522, allocations: 0.6221 MB / 0.8397 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.5522, allocations: 37.09 kB / 0.8397 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.5523, allocations: 46.78 kB / 0.8397 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.5532, allocations: 499.1 kB / 0.8402 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.5532, allocations: 0 / 0.8402 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.5532, allocations: 20.28 kB / 0.8402 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.5533, allocations: 20.52 kB / 0.8403 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007605/0.554, allocations: 442.2 kB / 0.8407 GB, free: 15.26 MB / 0.6075 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.002529/0.5566, allocations: 2.018 MB / 0.8427 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.5572, allocations: 341.1 kB / 0.843 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.5575, allocations: 210.1 kB / 0.8432 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.5578, allocations: 195.6 kB / 0.8434 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.5579, allocations: 37.66 kB / 0.8434 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.5579, allocations: 0 / 0.8434 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001205/0.5591, allocations: 0.5512 MB / 0.8439 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.5591, allocations: 58.25 kB / 0.844 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.5597, allocations: 0.5048 MB / 0.8445 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.5597, allocations: 36.61 kB / 0.8445 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.5599, allocations: 309.8 kB / 0.8448 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.56, allocations: 121.4 kB / 0.8449 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.5601, allocations: 68.36 kB / 0.845 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5603, allocations: 366.9 kB / 0.8453 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.5606, allocations: 146.2 kB / 0.8455 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.5609, allocations: 223.4 kB / 0.8457 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.5615, allocations: 341.2 kB / 0.846 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5615, allocations: 0 / 0.846 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007252/0.5622, allocations: 425.6 kB / 0.8464 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5623, allocations: 9.312 kB / 0.8464 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5623, allocations: 6.734 kB / 0.8464 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5623, allocations: 2.219 kB / 0.8464 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.5626, allocations: 71.34 kB / 0.8465 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5626, allocations: 6.219 kB / 0.8465 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.5631, allocations: 40.47 kB / 0.8466 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.5632, allocations: 22.11 kB / 0.8466 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004195/0.5636, allocations: 301.5 kB / 0.8469 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003124/0.5639, allocations: 214.2 kB / 0.8471 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005421/0.5645, allocations: 333 kB / 0.8474 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-06/0.5645, allocations: 0 / 0.8474 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006979/0.5652, allocations: 429.1 kB / 0.8478 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.5652, allocations: 5.688 kB / 0.8478 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.5652, allocations: 0 / 0.8478 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-06/0.5652, allocations: 4.594 kB / 0.8478 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.5655, allocations: 69.31 kB / 0.8479 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.5655, allocations: 2.281 kB / 0.8479 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.566, allocations: 41.42 kB / 0.8479 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.566, allocations: 8 kB / 0.8479 GB, free: 10.05 MB / 0.6075 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 (39): * Single equations (assignments): 39 * 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.0001241/0.5662, allocations: 199 kB / 0.8481 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.5663, allocations: 62.16 kB / 0.8482 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.567, allocations: 427.2 kB / 0.8486 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.567, allocations: 5.125 kB / 0.8486 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5671, allocations: 3.938 kB / 0.8486 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005964/0.5677, allocations: 427.8 kB / 0.849 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.5694, allocations: 1.179 MB / 0.8502 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5694, allocations: 0 / 0.8502 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.5698, allocations: 87.7 kB / 0.8502 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5698, allocations: 0 / 0.8502 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.5699, allocations: 20.12 kB / 0.8503 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5699, allocations: 4 kB / 0.8503 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5699, allocations: 7.938 kB / 0.8503 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.571, allocations: 0.7076 MB / 0.851 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.5712, allocations: 180.7 kB / 0.8511 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.628e-05/0.5713, allocations: 8 kB / 0.8511 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/0.5718, allocations: 25.69 kB / 0.8512 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.5719, allocations: 31.91 kB / 0.8512 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.5719, allocations: 12 kB / 0.8512 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003935/0.5723, allocations: 370.8 kB / 0.8516 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.573e-06/0.5723, allocations: 0 / 0.8516 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007638/0.5731, allocations: 331.3 kB / 0.8519 GB, free: 6.457 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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.001594/0.5747, allocations: 1.334 MB / 0.8532 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009876/0.5757, allocations: 0.5082 MB / 0.8537 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5757, allocations: 0 / 0.8537 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.576, allocations: 188.6 kB / 0.8539 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.5777, allocations: 349.2 kB / 0.8542 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005843/0.5835, allocations: 4.675 MB / 0.8588 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.584, allocations: 0.9256 MB / 0.8597 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005116/0.5845, allocations: 180.8 kB / 0.8598 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.5848, allocations: 219.4 kB / 0.86 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.5848, allocations: 0 / 0.86 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.6209, allocations: 16.83 MB / 0.8765 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.552, allocations: 3.938 kB / 0.8765 GB, free: 13.31 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay.fmu > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)