Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008909, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009148/0.0009149, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8305/0.8305, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003341, allocations: 14.66 kB / 0.5068 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 82.31 MB / 0.5872 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4141/0.5547, allocations: 152.5 MB / 0.7362 GB, free: 136 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007065/0.5618, allocations: 4.765 MB / 0.7408 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009067/0.5628, allocations: 25.94 kB / 0.7408 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.5641, allocations: 439.7 kB / 0.7413 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003691/0.5678, allocations: 1.388 MB / 0.7426 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.5702, allocations: 0.8712 MB / 0.7435 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001878/0.5721, allocations: 1.089 MB / 0.7445 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008068/0.5729, allocations: 457.2 kB / 0.745 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.5744, allocations: 0.5956 MB / 0.7455 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.5751, allocations: 349.6 kB / 0.7459 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.5752, allocations: 24 kB / 0.7459 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.5768, allocations: 0.6916 MB / 0.7466 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.577, allocations: 204.7 kB / 0.7468 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.5773, allocations: 173.3 kB / 0.7469 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.5783, allocations: 0.8721 MB / 0.7478 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.5783, allocations: 0 / 0.7478 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5784, allocations: 0 / 0.7478 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.383e-05/0.5784, allocations: 4 kB / 0.7478 GB, free: 8.16 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001525/0.5799, allocations: 0.9498 MB / 0.7487 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.58, allocations: 12.03 kB / 0.7487 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.5812, allocations: 210.9 kB / 0.7489 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.5823, allocations: 0.558 MB / 0.7495 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.5824, allocations: 44.95 kB / 0.7495 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.5825, allocations: 49 kB / 0.7496 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.5833, allocations: 498.3 kB / 0.75 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.5834, allocations: 0 / 0.75 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-05/0.5834, allocations: 20 kB / 0.7501 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.5835, allocations: 17 kB / 0.7501 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007724/0.5842, allocations: 439.7 kB / 0.7505 GB, free: 5.301 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.002481/0.5867, allocations: 2.01 MB / 0.7525 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.5873, allocations: 359.6 kB / 0.7528 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.468e-05/0.5873, allocations: 12.28 kB / 0.7528 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.5874, allocations: 41.95 kB / 0.7529 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.403e-06/0.5874, allocations: 0 / 0.7529 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001109/0.5885, allocations: 0.5577 MB / 0.7534 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.5885, allocations: 59.34 kB / 0.7535 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/0.5891, allocations: 0.4991 MB / 0.7539 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.5891, allocations: 33.7 kB / 0.754 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.5893, allocations: 312.2 kB / 0.7543 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.898e-05/0.5894, allocations: 110.3 kB / 0.7544 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.5894, allocations: 12 kB / 0.7544 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5896, allocations: 362.8 kB / 0.7547 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.5898, allocations: 136.6 kB / 0.7549 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.5901, allocations: 216.9 kB / 0.7551 GB, free: 364 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.5904, allocations: 167.9 kB / 0.7552 GB, free: 196 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5904, allocations: 3.938 kB / 0.7552 GB, free: 192 kB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006642/0.5911, allocations: 429.7 kB / 0.7556 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.5913, allocations: 364.2 kB / 0.756 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5913, allocations: 4.094 kB / 0.756 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5913, allocations: 4 kB / 0.756 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.5916, allocations: 71.91 kB / 0.7561 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.5916, allocations: 7.984 kB / 0.7561 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.5921, allocations: 62 kB / 0.7561 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.5922, allocations: 15.95 kB / 0.7561 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.5922, allocations: 4 kB / 0.7562 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005722/0.5928, allocations: 360.9 kB / 0.7565 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5928, allocations: 4 kB / 0.7565 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-06/0.5928, allocations: 0 / 0.7565 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.5931, allocations: 67.91 kB / 0.7566 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5931, allocations: 4 kB / 0.7566 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.5936, allocations: 70.55 kB / 0.7566 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.5936, allocations: 8 kB / 0.7566 GB, free: 14.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000249/0.5938, allocations: 289 kB / 0.7569 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.5939, allocations: 71.2 kB / 0.757 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/0.5946, allocations: 428.7 kB / 0.7574 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5947, allocations: 7.938 kB / 0.7574 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5947, allocations: 0 / 0.7574 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005541/0.5952, allocations: 440.3 kB / 0.7578 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.5968, allocations: 1.179 MB / 0.759 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5969, allocations: 0 / 0.759 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.5973, allocations: 96.06 kB / 0.7591 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.5973, allocations: 0 / 0.7591 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.5973, allocations: 12 kB / 0.7591 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5973, allocations: 5.438 kB / 0.7591 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5973, allocations: 4 kB / 0.7591 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009952/0.5983, allocations: 0.807 MB / 0.7599 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.5986, allocations: 176.4 kB / 0.76 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.5986, allocations: 11.98 kB / 0.7601 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000471/0.5991, allocations: 61.08 kB / 0.7601 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.5992, allocations: 39.8 kB / 0.7602 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.5992, allocations: 12 kB / 0.7602 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000358/0.5996, allocations: 358.8 kB / 0.7605 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5996, allocations: 0 / 0.7605 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007243/0.6003, allocations: 315.2 kB / 0.7608 GB, free: 10.24 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.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 (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.0003519/0.6007, allocations: 190.2 kB / 0.761 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008852/0.6016, allocations: 0.5276 MB / 0.7615 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6016, allocations: 0 / 0.7615 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.6019, allocations: 193 kB / 0.7617 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.6035, allocations: 362.7 kB / 0.762 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.6053, allocations: 1.548 MB / 0.7635 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.6058, allocations: 0.9412 MB / 0.7645 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005667/0.6064, allocations: 184.8 kB / 0.7646 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.6065, allocations: 47.44 kB / 0.7647 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.6065, allocations: 0 / 0.7647 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of Templates: time 0.017/0.6235, allocations: 10.98 MB / 0.7754 GB, free: 11.42 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.sim & ./IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1) Environment - environmentSimulation: