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.0007362/0.0007362, allocations: 92.78 kB / 15.7 MB, free: 472 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.0008314/0.0008315, allocations: 175.9 kB / 16.58 MB, free: 5.66 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.21/1.21, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.621/0.621, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002753, allocations: 9.125 kB / 493.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 77.12 MB / 0.5569 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.405/0.5384, allocations: 166.6 MB / 0.7196 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006404/0.5449, allocations: 4.581 MB / 0.7241 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/0.5455, allocations: 27.81 kB / 0.7241 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007708/0.5463, allocations: 286.1 kB / 0.7244 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.5486, allocations: 1.038 MB / 0.7254 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.55, allocations: 0.5977 MB / 0.726 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002007/0.5521, allocations: 2.144 MB / 0.7281 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005637/0.5526, allocations: 444.7 kB / 0.7285 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.5538, allocations: 0.7118 MB / 0.7292 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006235/0.5544, allocations: 0.5175 MB / 0.7297 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.5545, allocations: 27.94 kB / 0.7297 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.5561, allocations: 0.873 MB / 0.7306 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.5564, allocations: 223.3 kB / 0.7308 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.5565, allocations: 173.3 kB / 0.7309 GB, free: 8.492 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009419/0.5575, allocations: 0.9548 MB / 0.7319 GB, free: 7.535 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5575, allocations: 0 / 0.7319 GB, free: 7.535 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5575, allocations: 0 / 0.7319 GB, free: 7.535 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.5575, allocations: 0 / 0.7319 GB, free: 7.535 MB / 0.545 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.001301/0.5588, allocations: 0.9819 MB / 0.7328 GB, free: 6.504 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.5589, allocations: 8.031 kB / 0.7328 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.575e-05/0.559, allocations: 91.2 kB / 0.7329 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.5601, allocations: 202.9 kB / 0.7331 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000755/0.5608, allocations: 0.5581 MB / 0.7337 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.5609, allocations: 33 kB / 0.7337 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/0.5609, allocations: 51.98 kB / 0.7337 GB, free: 5.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007944/0.5617, allocations: 0.4953 MB / 0.7342 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.5618, allocations: 0 / 0.7342 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.5618, allocations: 27.94 kB / 0.7343 GB, free: 4.996 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.5619, allocations: 17 kB / 0.7343 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.5626, allocations: 447.7 kB / 0.7347 GB, free: 4.543 MB / 0.545 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.00224/0.5648, allocations: 2.009 MB / 0.7367 GB, free: 2.355 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/0.5654, allocations: 351.5 kB / 0.737 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.5657, allocations: 209.9 kB / 0.7372 GB, free: 1.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.5659, allocations: 194.5 kB / 0.7374 GB, free: 1.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.566, allocations: 39.7 kB / 0.7374 GB, free: 1.523 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.566, allocations: 0 / 0.7374 GB, free: 1.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.001077/0.5671, allocations: 0.5527 MB / 0.738 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.5671, allocations: 63.34 kB / 0.738 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.5676, allocations: 0.5029 MB / 0.7385 GB, free: 388 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.5677, allocations: 33.7 kB / 0.7385 GB, free: 348 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.5679, allocations: 308.2 kB / 0.7388 GB, free: 32 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.568, allocations: 114.4 kB / 0.7389 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.568, allocations: 8 kB / 0.739 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5681, allocations: 370.7 kB / 0.7393 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.5684, allocations: 140.6 kB / 0.7394 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.5687, allocations: 208.7 kB / 0.7396 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.569, allocations: 171.7 kB / 0.7398 GB, free: 15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.569, allocations: 0 / 0.7398 GB, free: 15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006378/0.5696, allocations: 433.6 kB / 0.7402 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.604e-05/0.5697, allocations: 112.2 kB / 0.7403 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5697, allocations: 4.094 kB / 0.7403 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5697, allocations: 4 kB / 0.7403 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.57, allocations: 75.89 kB / 0.7404 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.57, allocations: 7.938 kB / 0.7404 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.5705, allocations: 67.59 kB / 0.7405 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.5705, allocations: 16.06 kB / 0.7405 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.901e-06/0.5705, allocations: 4 kB / 0.7405 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005591/0.5711, allocations: 357.3 kB / 0.7408 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-06/0.5711, allocations: 0 / 0.7408 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.5711, allocations: 4 kB / 0.7408 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.5714, allocations: 75.84 kB / 0.7409 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5714, allocations: 7.984 kB / 0.7409 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.5718, allocations: 63.73 kB / 0.741 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.5718, allocations: 16 kB / 0.741 GB, free: 13.76 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002398/0.5721, allocations: 289.7 kB / 0.7413 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.5722, allocations: 63.28 kB / 0.7413 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000707/0.5729, allocations: 444 kB / 0.7418 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5729, allocations: 4 kB / 0.7418 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5729, allocations: 0 / 0.7418 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005528/0.5735, allocations: 436.3 kB / 0.7422 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.575, allocations: 1.187 MB / 0.7433 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.575, allocations: 0 / 0.7433 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.5754, allocations: 87.88 kB / 0.7434 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.5754, allocations: 4 kB / 0.7434 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.5754, allocations: 12 kB / 0.7434 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.5755, allocations: 4 kB / 0.7434 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5755, allocations: 3.938 kB / 0.7434 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009319/0.5764, allocations: 0.7195 MB / 0.7441 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.5766, allocations: 180.3 kB / 0.7443 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.5767, allocations: 11.94 kB / 0.7443 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/0.5771, allocations: 56.91 kB / 0.7444 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.5772, allocations: 27.86 kB / 0.7444 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.5772, allocations: 12 kB / 0.7444 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003565/0.5776, allocations: 366.8 kB / 0.7448 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5776, allocations: 0 / 0.7448 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007243/0.5783, allocations: 323.2 kB / 0.7451 GB, free: 9.41 MB / 0.5606 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 (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.001434/0.5797, allocations: 1.338 MB / 0.7464 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008709/0.5806, allocations: 0.5309 MB / 0.7469 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5806, allocations: 0 / 0.7469 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.5809, allocations: 188.7 kB / 0.7471 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.5825, allocations: 385.2 kB / 0.7475 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.5871, allocations: 3.57 MB / 0.7509 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.5876, allocations: 0.9295 MB / 0.7518 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005826/0.5882, allocations: 188.8 kB / 0.752 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.5885, allocations: 215.4 kB / 0.7522 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.5885, allocations: 0 / 0.7522 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.6176, allocations: 16.66 MB / 0.7685 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.6178, allocations: 206.9 kB / 0.7687 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.524, allocations: 0 / 0.7687 GB, free: 1.352 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay.fmu > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1) Environment - environmentSimulation: