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.005271/0.005271, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001253/0.001253, allocations: 192.5 kB / 16.67 MB, free: 5.52 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.825/0.825, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 69.94 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1551, allocations: 80.92 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.6702/0.8254, allocations: 183.2 MB / 0.8436 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007741/0.8331, allocations: 4.859 MB / 0.8483 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.8343, allocations: 31.97 kB / 0.8483 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.8356, allocations: 450 kB / 0.8488 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.8394, allocations: 1.466 MB / 0.8502 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.8416, allocations: 0.7753 MB / 0.851 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002516/0.8441, allocations: 1.852 MB / 0.8528 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008394/0.845, allocations: 0.5997 MB / 0.8534 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.8469, allocations: 0.9054 MB / 0.8542 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.8482, allocations: 0.5434 MB / 0.8548 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.8483, allocations: 60.12 kB / 0.8548 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003703/0.852, allocations: 1.419 MB / 0.8562 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004492/0.8525, allocations: 262.4 kB / 0.8565 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008496/0.8533, allocations: 402.1 kB / 0.8568 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005587/0.8589, allocations: 1.429 MB / 0.8582 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.859, allocations: 0 / 0.8582 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.604e-06/0.859, allocations: 4 kB / 0.8582 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.859, allocations: 0 / 0.8582 GB, free: 8.664 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.002458/0.8615, allocations: 1.102 MB / 0.8593 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.245e-05/0.8616, allocations: 11.64 kB / 0.8593 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.8632, allocations: 206.8 kB / 0.8595 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.8643, allocations: 0.6239 MB / 0.8601 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.8643, allocations: 33 kB / 0.8602 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/0.8644, allocations: 48 kB / 0.8602 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009389/0.8654, allocations: 0.4905 MB / 0.8607 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.8654, allocations: 0 / 0.8607 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.8654, allocations: 16 kB / 0.8607 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.8655, allocations: 20.94 kB / 0.8607 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007799/0.8663, allocations: 443.7 kB / 0.8612 GB, free: 5.863 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.002878/0.8692, allocations: 1.994 MB / 0.8631 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.8698, allocations: 343.6 kB / 0.8634 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.8702, allocations: 209.3 kB / 0.8636 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003259/0.8705, allocations: 194.5 kB / 0.8638 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.8705, allocations: 38.84 kB / 0.8638 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/0.8706, allocations: 0 / 0.8638 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001385/0.8719, allocations: 0.541 MB / 0.8644 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.872, allocations: 55.41 kB / 0.8644 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006173/0.8726, allocations: 0.5068 MB / 0.8649 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.8727, allocations: 33.7 kB / 0.865 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.8729, allocations: 312.2 kB / 0.8653 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.8731, allocations: 114.3 kB / 0.8654 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.8732, allocations: 66.02 kB / 0.8654 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.8733, allocations: 362.8 kB / 0.8658 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.8736, allocations: 146.1 kB / 0.8659 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.874, allocations: 220.5 kB / 0.8661 GB, free: 468 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/0.8746, allocations: 347.6 kB / 0.8665 GB, free: 108 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8746, allocations: 0 / 0.8665 GB, free: 108 kB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008105/0.8754, allocations: 428.5 kB / 0.8669 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.8754, allocations: 8.094 kB / 0.8669 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8755, allocations: 11.75 kB / 0.8669 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.8755, allocations: 3.938 kB / 0.8669 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.8759, allocations: 67.91 kB / 0.8669 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.8759, allocations: 4 kB / 0.867 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/0.8764, allocations: 43.66 kB / 0.867 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.8765, allocations: 12 kB / 0.867 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00046/0.8769, allocations: 304 kB / 0.8673 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003205/0.8773, allocations: 220.2 kB / 0.8675 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005641/0.8778, allocations: 335.1 kB / 0.8678 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/0.8778, allocations: 0 / 0.8678 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007557/0.8786, allocations: 424.8 kB / 0.8682 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.8786, allocations: 9.875 kB / 0.8682 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.8787, allocations: 0 / 0.8682 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.8787, allocations: 4.094 kB / 0.8682 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.879, allocations: 75.83 kB / 0.8683 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.879, allocations: 4 kB / 0.8683 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.8795, allocations: 34.23 kB / 0.8684 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.8796, allocations: 12 kB / 0.8684 GB, free: 14.1 MB / 0.6387 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.0001819/0.8797, allocations: 204.1 kB / 0.8686 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.8799, allocations: 55.34 kB / 0.8686 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008094/0.8807, allocations: 435.2 kB / 0.869 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.8807, allocations: 0 / 0.869 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8807, allocations: 4 kB / 0.869 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006488/0.8814, allocations: 432.5 kB / 0.8694 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.8837, allocations: 1.179 MB / 0.8706 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.8837, allocations: 4 kB / 0.8706 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.8841, allocations: 83.89 kB / 0.8707 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.8842, allocations: 8.188 kB / 0.8707 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.8842, allocations: 11.98 kB / 0.8707 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.8842, allocations: 4 kB / 0.8707 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.8842, allocations: 3.938 kB / 0.8707 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.8855, allocations: 0.7222 MB / 0.8714 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.8858, allocations: 180.3 kB / 0.8716 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.886, allocations: 8 kB / 0.8716 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/0.8865, allocations: 27.91 kB / 0.8716 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/0.8866, allocations: 31.84 kB / 0.8716 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.8866, allocations: 18.12 kB / 0.8717 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005451/0.8872, allocations: 362.8 kB / 0.872 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8872, allocations: 0 / 0.872 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00118/0.8884, allocations: 319.2 kB / 0.8723 GB, free: 9.883 MB / 0.6387 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.0006584/0.889, allocations: 185.2 kB / 0.8725 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.8904, allocations: 0.5189 MB / 0.873 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.8904, allocations: 0 / 0.873 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.8909, allocations: 183.7 kB / 0.8732 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.8928, allocations: 356.8 kB / 0.8735 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.8958, allocations: 1.229 MB / 0.8747 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008431/0.8966, allocations: 0.9334 MB / 0.8756 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008354/0.8975, allocations: 188.8 kB / 0.8758 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.8977, allocations: 47.44 kB / 0.8759 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of SimCode: time 1.162e-06/0.8977, allocations: 0 / 0.8759 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of Templates: time 0.02919/0.9269, allocations: 11.79 MB / 0.8874 GB, free: 10.55 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.makefile (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)