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.001135/0.001135, allocations: 117.7 kB / 16.37 MB, free: 6.016 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.00109/0.00109, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7515/0.7515, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 0.5068 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3548, allocations: 80.9 MB / 0.5858 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5435/0.8983, allocations: 183.2 MB / 0.7647 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007169/0.9056, allocations: 4.861 MB / 0.7694 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.9067, allocations: 27.97 kB / 0.7695 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.9077, allocations: 437.5 kB / 0.7699 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.9113, allocations: 1.411 MB / 0.7713 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.9136, allocations: 0.772 MB / 0.772 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002636/0.9163, allocations: 1.846 MB / 0.7738 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008909/0.9172, allocations: 0.5958 MB / 0.7744 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.9189, allocations: 0.8766 MB / 0.7753 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.9199, allocations: 0.5423 MB / 0.7758 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.92, allocations: 56.34 kB / 0.7758 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.9228, allocations: 1.415 MB / 0.7772 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.9232, allocations: 261.9 kB / 0.7775 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005904/0.9238, allocations: 405.8 kB / 0.7779 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.9259, allocations: 1.425 MB / 0.7793 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.926, allocations: 0.875 kB / 0.7793 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.926, allocations: 0 / 0.7793 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.926, allocations: 0 / 0.7793 GB, free: 1.375 MB / 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.001579/0.9276, allocations: 1.1 MB / 0.7803 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.9276, allocations: 12.17 kB / 0.7803 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.9288, allocations: 215.4 kB / 0.7805 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008951/0.9297, allocations: 0.6189 MB / 0.7812 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.9298, allocations: 35.78 kB / 0.7812 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.9299, allocations: 51.19 kB / 0.7812 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/0.9306, allocations: 495.6 kB / 0.7817 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.9306, allocations: 4.234 kB / 0.7817 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.9307, allocations: 17.34 kB / 0.7817 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.9307, allocations: 17.31 kB / 0.7817 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.9313, allocations: 440.8 kB / 0.7822 GB, free: 16.32 MB / 0.5919 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.002536/0.9339, allocations: 2.001 MB / 0.7841 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.9344, allocations: 343.8 kB / 0.7844 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.9347, allocations: 216.4 kB / 0.7847 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.935, allocations: 196.1 kB / 0.7848 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.935, allocations: 34.75 kB / 0.7849 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.935, allocations: 0 / 0.7849 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001073/0.9361, allocations: 0.543 MB / 0.7854 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.9362, allocations: 60.47 kB / 0.7855 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.9367, allocations: 0.5037 MB / 0.786 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.9367, allocations: 34.92 kB / 0.786 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.9369, allocations: 305 kB / 0.7863 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/0.937, allocations: 119.3 kB / 0.7864 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.9371, allocations: 75.42 kB / 0.7865 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.9372, allocations: 363.3 kB / 0.7868 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.9374, allocations: 143.8 kB / 0.7869 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.9377, allocations: 223.6 kB / 0.7872 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.9382, allocations: 341.5 kB / 0.7875 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9382, allocations: 0 / 0.7875 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006004/0.9388, allocations: 431.5 kB / 0.7879 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.9388, allocations: 8.656 kB / 0.7879 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.9388, allocations: 0 / 0.7879 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9389, allocations: 6.406 kB / 0.7879 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.9392, allocations: 74.34 kB / 0.788 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9392, allocations: 4.578 kB / 0.788 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.9396, allocations: 37.08 kB / 0.788 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.9397, allocations: 14.94 kB / 0.788 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003537/0.94, allocations: 305.3 kB / 0.7883 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002451/0.9403, allocations: 220.5 kB / 0.7885 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004308/0.9407, allocations: 331.7 kB / 0.7889 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.113e-06/0.9407, allocations: 0 / 0.7889 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000583/0.9413, allocations: 423.8 kB / 0.7893 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.9413, allocations: 5.562 kB / 0.7893 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.9413, allocations: 0 / 0.7893 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.9413, allocations: 2.219 kB / 0.7893 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.9416, allocations: 74.22 kB / 0.7893 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.9416, allocations: 9.438 kB / 0.7893 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.9421, allocations: 31.8 kB / 0.7894 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.9421, allocations: 14.34 kB / 0.7894 GB, free: 13.77 MB / 0.5919 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.0001689/0.9423, allocations: 203.6 kB / 0.7896 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.9424, allocations: 62.53 kB / 0.7896 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007101/0.9431, allocations: 422.8 kB / 0.79 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.9431, allocations: 12.03 kB / 0.7901 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.9431, allocations: 0.875 kB / 0.7901 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005309/0.9436, allocations: 438.4 kB / 0.7905 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.9454, allocations: 1.171 MB / 0.7916 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9454, allocations: 2.844 kB / 0.7916 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.9458, allocations: 89.09 kB / 0.7917 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.9458, allocations: 2.125 kB / 0.7917 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.9458, allocations: 11.5 kB / 0.7917 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.9458, allocations: 7.188 kB / 0.7917 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.9458, allocations: 6.797 kB / 0.7917 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/0.9468, allocations: 0.7217 MB / 0.7924 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.9471, allocations: 178.2 kB / 0.7926 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.9472, allocations: 14.3 kB / 0.7926 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.9476, allocations: 24.09 kB / 0.7926 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.9477, allocations: 27.73 kB / 0.7927 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.9477, allocations: 20.61 kB / 0.7927 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003556/0.9481, allocations: 364.7 kB / 0.793 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9481, allocations: 0 / 0.793 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008125/0.9489, allocations: 318.4 kB / 0.7933 GB, free: 12.49 MB / 0.5919 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.0004606/0.9493, allocations: 182.6 kB / 0.7935 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009044/0.9503, allocations: 0.5186 MB / 0.794 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.9503, allocations: 0.9688 kB / 0.794 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.9505, allocations: 183.9 kB / 0.7942 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.9519, allocations: 343.6 kB / 0.7945 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.9536, allocations: 1.245 MB / 0.7957 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.9541, allocations: 0.9306 MB / 0.7967 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005582/0.9547, allocations: 183.8 kB / 0.7968 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.9548, allocations: 51 kB / 0.7969 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of SimCode: time 7.12e-07/0.9548, allocations: 0 / 0.7969 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.01798/0.9728, allocations: 11.71 MB / 0.8083 GB, free: 8.926 MB / 0.5919 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)