Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_IDEAS_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_IDEAS_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.005982/0.005982, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001325/0.001325, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7312/0.7312, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 63.31 kB / 0.5808 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1334, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4896/0.6231, allocations: 183.2 MB / 0.8381 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007162/0.6303, allocations: 4.853 MB / 0.8428 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.6314, allocations: 31.5 kB / 0.8429 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.6325, allocations: 445.2 kB / 0.8433 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.6357, allocations: 1.409 MB / 0.8447 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.6375, allocations: 0.7809 MB / 0.8454 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001854/0.6394, allocations: 1.848 MB / 0.8472 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006921/0.6401, allocations: 0.5953 MB / 0.8478 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.6416, allocations: 0.8691 MB / 0.8487 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009436/0.6426, allocations: 0.5438 MB / 0.8492 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.6426, allocations: 57.97 kB / 0.8493 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.6448, allocations: 1.413 MB / 0.8506 GB, free: 148 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.6451, allocations: 266.6 kB / 0.8509 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.6454, allocations: 401.7 kB / 0.8513 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.647, allocations: 1.426 MB / 0.8527 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.647, allocations: 0 / 0.8527 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.373e-06/0.647, allocations: 0 / 0.8527 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.6471, allocations: 0 / 0.8527 GB, free: 14.82 MB / 0.6231 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.001456/0.6485, allocations: 1.104 MB / 0.8537 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.6486, allocations: 9.438 kB / 0.8538 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.986e-05/0.6487, allocations: 92.8 kB / 0.8538 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.6498, allocations: 209.4 kB / 0.854 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008593/0.6507, allocations: 0.6168 MB / 0.8546 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.6508, allocations: 37.31 kB / 0.8547 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.6508, allocations: 52.31 kB / 0.8547 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.6516, allocations: 495.7 kB / 0.8552 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.6516, allocations: 0 / 0.8552 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.6517, allocations: 28.59 kB / 0.8552 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.6517, allocations: 16.5 kB / 0.8553 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006902/0.6524, allocations: 433.7 kB / 0.8557 GB, free: 12.71 MB / 0.6231 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.002304/0.6547, allocations: 1.999 MB / 0.8576 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.6553, allocations: 346.3 kB / 0.8579 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.6556, allocations: 213.3 kB / 0.8581 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.6558, allocations: 186.5 kB / 0.8583 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.6559, allocations: 38.84 kB / 0.8584 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.6559, allocations: 0 / 0.8584 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001121/0.657, allocations: 0.5496 MB / 0.8589 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.657, allocations: 55.41 kB / 0.859 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.6575, allocations: 0.5107 MB / 0.8595 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.6576, allocations: 37.64 kB / 0.8595 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.6578, allocations: 300.2 kB / 0.8598 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.94e-05/0.6579, allocations: 122.3 kB / 0.8599 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.658, allocations: 70.03 kB / 0.86 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6581, allocations: 366.8 kB / 0.8603 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.6584, allocations: 138.1 kB / 0.8604 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.6587, allocations: 224.5 kB / 0.8607 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005366/0.6592, allocations: 340.2 kB / 0.861 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6592, allocations: 0 / 0.861 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006645/0.6599, allocations: 428.6 kB / 0.8614 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6599, allocations: 4 kB / 0.8614 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6599, allocations: 7.938 kB / 0.8614 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.66, allocations: 0 / 0.8614 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.6603, allocations: 75.89 kB / 0.8615 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.6603, allocations: 7.938 kB / 0.8615 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.6607, allocations: 39.77 kB / 0.8615 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.6608, allocations: 12.88 kB / 0.8615 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003939/0.6612, allocations: 308 kB / 0.8618 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002894/0.6615, allocations: 212.4 kB / 0.862 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005048/0.662, allocations: 335.3 kB / 0.8623 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.662, allocations: 4 kB / 0.8623 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006258/0.6626, allocations: 412.8 kB / 0.8627 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.315e-06/0.6627, allocations: 8 kB / 0.8627 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-06/0.6627, allocations: 0 / 0.8627 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-06/0.6627, allocations: 7.938 kB / 0.8628 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.663, allocations: 71.89 kB / 0.8628 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.663, allocations: 7.938 kB / 0.8628 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.6634, allocations: 27.83 kB / 0.8629 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.6634, allocations: 16.48 kB / 0.8629 GB, free: 5.113 MB / 0.6231 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.0001191/0.6636, allocations: 208.2 kB / 0.8631 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.6637, allocations: 59.25 kB / 0.8631 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007108/0.6644, allocations: 425.1 kB / 0.8635 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.6644, allocations: 7.984 kB / 0.8635 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6644, allocations: 0 / 0.8635 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005533/0.665, allocations: 435.9 kB / 0.864 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.6665, allocations: 1.174 MB / 0.8651 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6665, allocations: 8.172 kB / 0.8651 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.6669, allocations: 87.89 kB / 0.8652 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.667, allocations: 0 / 0.8652 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.667, allocations: 15.98 kB / 0.8652 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.667, allocations: 7.938 kB / 0.8652 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.667, allocations: 4 kB / 0.8652 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009698/0.668, allocations: 0.7153 MB / 0.8659 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.6682, allocations: 180.3 kB / 0.8661 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.6683, allocations: 12 kB / 0.8661 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.6687, allocations: 30.2 kB / 0.8661 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.6688, allocations: 27.91 kB / 0.8662 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.6688, allocations: 8 kB / 0.8662 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003418/0.6692, allocations: 366.8 kB / 0.8665 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6692, allocations: 0 / 0.8665 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007388/0.6699, allocations: 323.3 kB / 0.8668 GB, free: 0.8984 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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.001459/0.6714, allocations: 1.355 MB / 0.8682 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008886/0.6723, allocations: 0.5153 MB / 0.8687 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6723, allocations: 8 kB / 0.8687 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.6726, allocations: 175.8 kB / 0.8688 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.674, allocations: 355.9 kB / 0.8692 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/0.6797, allocations: 4.612 MB / 0.8737 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.6801, allocations: 0.9295 MB / 0.8746 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004908/0.6806, allocations: 184.8 kB / 0.8748 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.6809, allocations: 219.4 kB / 0.875 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.6809, allocations: 0 / 0.875 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3765/1.057, allocations: 16.87 MB / 0.8914 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/9.368, allocations: 8.047 kB / 0.8914 GB, free: 7.766 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_IDEAS.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Delays_Examples_Delay.fmu > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)