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.001229/0.001229, allocations: 104.4 kB / 15.98 MB, free: 6.355 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.001129/0.001129, allocations: 192.7 kB / 16.91 MB, free: 6.195 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.246/1.246, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6777/0.6777, allocations: 115.3 MB / 406.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2729, allocations: 76.17 MB / 0.556 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.156/0.429, allocations: 180.8 MB / 0.7326 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006444/0.4354, allocations: 4.86 MB / 0.7373 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006987/0.4362, allocations: 27.81 kB / 0.7374 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.4372, allocations: 378.1 kB / 0.7377 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002796/0.44, allocations: 1.326 MB / 0.739 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.4417, allocations: 0.7081 MB / 0.7397 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.4436, allocations: 1.849 MB / 0.7415 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007347/0.4444, allocations: 0.5784 MB / 0.7421 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.4459, allocations: 0.8677 MB / 0.7429 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009162/0.4468, allocations: 0.5836 MB / 0.7435 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.926e-05/0.4469, allocations: 56 kB / 0.7435 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.4488, allocations: 1.465 MB / 0.745 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.449, allocations: 271.2 kB / 0.7452 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.4494, allocations: 398.1 kB / 0.7456 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.4508, allocations: 1.496 MB / 0.7471 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.4508, allocations: 0 / 0.7471 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4508, allocations: 0 / 0.7471 GB, free: 336 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.4509, allocations: 0 / 0.7471 GB, free: 336 kB / 0.5762 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.1825/0.6333, allocations: 1.094 MB / 0.7481 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.6334, allocations: 9.562 kB / 0.7482 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.425e-05/0.6335, allocations: 89.09 kB / 0.7482 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.6348, allocations: 215.5 kB / 0.7484 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007681/0.6356, allocations: 0.5784 MB / 0.749 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.6356, allocations: 36.12 kB / 0.749 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.936e-05/0.6357, allocations: 48.53 kB / 0.7491 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008507/0.6366, allocations: 499.6 kB / 0.7496 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.6366, allocations: 3.938 kB / 0.7496 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.6367, allocations: 22.95 kB / 0.7496 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.6367, allocations: 21.05 kB / 0.7496 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000753/0.6375, allocations: 436.6 kB / 0.75 GB, free: 175.1 MB / 0.5762 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.002124/0.6396, allocations: 2.004 MB / 0.752 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.6402, allocations: 351.2 kB / 0.7523 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.6405, allocations: 214.1 kB / 0.7525 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/0.6407, allocations: 190.5 kB / 0.7527 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.6408, allocations: 46 kB / 0.7528 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.6408, allocations: 2.297 kB / 0.7528 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001122/0.6419, allocations: 0.5393 MB / 0.7533 GB, free: 173 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.6419, allocations: 59.91 kB / 0.7533 GB, free: 173 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.6424, allocations: 0.5058 MB / 0.7538 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.6425, allocations: 32.58 kB / 0.7539 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.6426, allocations: 303.2 kB / 0.7542 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.92e-05/0.6427, allocations: 117.9 kB / 0.7543 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.6428, allocations: 73.7 kB / 0.7543 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.6429, allocations: 362.7 kB / 0.7547 GB, free: 172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.6432, allocations: 145.1 kB / 0.7548 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.6435, allocations: 210.9 kB / 0.755 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.644, allocations: 341.4 kB / 0.7553 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.644, allocations: 0 / 0.7553 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006255/0.6447, allocations: 436 kB / 0.7558 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.6447, allocations: 8.172 kB / 0.7558 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.6447, allocations: 0 / 0.7558 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.6447, allocations: 5.875 kB / 0.7558 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.645, allocations: 69.33 kB / 0.7558 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6451, allocations: 1.781 kB / 0.7558 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.6456, allocations: 68.72 kB / 0.7559 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.6456, allocations: 10.44 kB / 0.7559 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000359/0.646, allocations: 309.4 kB / 0.7562 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002663/0.6462, allocations: 217.5 kB / 0.7564 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000477/0.6467, allocations: 332.1 kB / 0.7567 GB, free: 171 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.6467, allocations: 1.156 kB / 0.7567 GB, free: 171 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006269/0.6474, allocations: 419.5 kB / 0.7571 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/0.6474, allocations: 6.375 kB / 0.7571 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.6474, allocations: 9.156 kB / 0.7572 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-06/0.6474, allocations: 2.406 kB / 0.7572 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.6477, allocations: 73.45 kB / 0.7572 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.6477, allocations: 5.391 kB / 0.7572 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.6482, allocations: 56.81 kB / 0.7573 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.6482, allocations: 14.47 kB / 0.7573 GB, free: 170.8 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 (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 8.246e-05/0.6483, allocations: 196.4 kB / 0.7575 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/0.6484, allocations: 64.66 kB / 0.7575 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007037/0.6491, allocations: 421.5 kB / 0.758 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6491, allocations: 3.391 kB / 0.758 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6491, allocations: 0.8906 kB / 0.758 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005323/0.6497, allocations: 443.7 kB / 0.7584 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.6512, allocations: 1.173 MB / 0.7595 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6512, allocations: 6.812 kB / 0.7595 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.6516, allocations: 87.8 kB / 0.7596 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.6516, allocations: 4.219 kB / 0.7596 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.6517, allocations: 8.422 kB / 0.7596 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.6517, allocations: 3.234 kB / 0.7596 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6517, allocations: 2.203 kB / 0.7596 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009103/0.6526, allocations: 0.7002 MB / 0.7603 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.6528, allocations: 179.4 kB / 0.7605 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.6529, allocations: 17.48 kB / 0.7605 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.6534, allocations: 50.08 kB / 0.7605 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.6534, allocations: 27.02 kB / 0.7606 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.6535, allocations: 11.84 kB / 0.7606 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003432/0.6538, allocations: 365.7 kB / 0.7609 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6538, allocations: 1.625 kB / 0.7609 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007157/0.6546, allocations: 321.3 kB / 0.7612 GB, free: 168.7 MB / 0.5762 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.001313/0.6559, allocations: 1.337 MB / 0.7625 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009602/0.6568, allocations: 0.5468 MB / 0.7631 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6569, allocations: 0.625 kB / 0.7631 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.6571, allocations: 185.4 kB / 0.7633 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.6586, allocations: 360.1 kB / 0.7636 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/0.6643, allocations: 4.949 MB / 0.7684 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.6648, allocations: 0.9371 MB / 0.7694 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006304/0.6654, allocations: 183.2 kB / 0.7695 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.6657, allocations: 217.8 kB / 0.7697 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.6657, allocations: 0 / 0.7697 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03901/0.7047, allocations: 16.52 MB / 0.7859 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001215/0.7048, allocations: 230.7 kB / 0.7861 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.669, allocations: 0 / 0.7861 GB, free: 157.7 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/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)