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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001602, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8598/0.8598, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.861/1.861, allocations: 222.9 MB / 404.7 MB, free: 6.012 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009949/0.0009948, allocations: 110.1 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001007, allocations: 51.91 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1317, allocations: 80.43 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4855/0.6172, allocations: 181 MB / 0.8189 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.6274, allocations: 4.931 MB / 0.8237 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.6289, allocations: 27.81 kB / 0.8237 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.6305, allocations: 374 kB / 0.8241 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004003/0.6346, allocations: 1.328 MB / 0.8254 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.6368, allocations: 0.6921 MB / 0.826 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003121/0.6399, allocations: 2.542 MB / 0.8285 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009407/0.6409, allocations: 0.5069 MB / 0.829 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.6428, allocations: 0.7936 MB / 0.8298 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.6444, allocations: 0.5658 MB / 0.8304 GB, free: 416 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.6446, allocations: 28 kB / 0.8304 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003154/0.6478, allocations: 1.609 MB / 0.832 GB, free: 14.77 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003844/0.6482, allocations: 235.2 kB / 0.8322 GB, free: 14.54 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006847/0.6489, allocations: 370.1 kB / 0.8325 GB, free: 14.17 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.6515, allocations: 1.468 MB / 0.834 GB, free: 12.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6515, allocations: 7.938 kB / 0.834 GB, free: 12.69 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6515, allocations: 0 / 0.834 GB, free: 12.69 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.143e-05/0.6515, allocations: 0 / 0.834 GB, free: 12.69 MB / 0.573 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.002166/0.6537, allocations: 1.09 MB / 0.835 GB, free: 11.55 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.6538, allocations: 12.03 kB / 0.835 GB, free: 11.54 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.6551, allocations: 211.7 kB / 0.8352 GB, free: 11.33 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.6562, allocations: 0.5848 MB / 0.8358 GB, free: 10.7 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.6562, allocations: 37 kB / 0.8359 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.352e-05/0.6563, allocations: 48 kB / 0.8359 GB, free: 10.62 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009022/0.6572, allocations: 0.4906 MB / 0.8364 GB, free: 10.12 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.6572, allocations: 0 / 0.8364 GB, free: 10.12 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/0.6573, allocations: 19.94 kB / 0.8364 GB, free: 10.1 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.6573, allocations: 24.88 kB / 0.8364 GB, free: 10.08 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008215/0.6582, allocations: 431.7 kB / 0.8368 GB, free: 9.656 MB / 0.573 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.002929/0.6611, allocations: 2.005 MB / 0.8388 GB, free: 7.48 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.6617, allocations: 343.6 kB / 0.8391 GB, free: 7.137 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.6621, allocations: 209.3 kB / 0.8393 GB, free: 6.93 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/0.6624, allocations: 186.5 kB / 0.8395 GB, free: 6.711 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.6624, allocations: 38.84 kB / 0.8395 GB, free: 6.664 MB / 0.573 GB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.6624, allocations: 0 / 0.8395 GB, free: 6.664 MB / 0.573 GB Notification: Performance of matching and sorting (n=33): time 0.001264/0.6637, allocations: 0.5488 MB / 0.8401 GB, free: 6.109 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.6638, allocations: 55.41 kB / 0.8401 GB, free: 6.043 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.6643, allocations: 0.503 MB / 0.8406 GB, free: 5.531 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.6644, allocations: 33.7 kB / 0.8406 GB, free: 5.492 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.6646, allocations: 304.2 kB / 0.8409 GB, free: 5.191 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.6647, allocations: 122.3 kB / 0.8411 GB, free: 5.07 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.6649, allocations: 69.94 kB / 0.8411 GB, free: 4.996 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.665, allocations: 370.8 kB / 0.8415 GB, free: 4.625 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.6653, allocations: 134.1 kB / 0.8416 GB, free: 4.492 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.6657, allocations: 228 kB / 0.8418 GB, free: 4.242 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005762/0.6662, allocations: 335.2 kB / 0.8421 GB, free: 3.902 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6663, allocations: 4 kB / 0.8421 GB, free: 3.898 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007597/0.667, allocations: 428.6 kB / 0.8426 GB, free: 3.473 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.6671, allocations: 4 kB / 0.8426 GB, free: 3.469 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6671, allocations: 4 kB / 0.8426 GB, free: 3.465 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6671, allocations: 3.938 kB / 0.8426 GB, free: 3.461 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.6674, allocations: 71.89 kB / 0.8426 GB, free: 3.391 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.6675, allocations: 4 kB / 0.8426 GB, free: 3.387 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/0.668, allocations: 63.73 kB / 0.8427 GB, free: 3.324 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.6681, allocations: 8 kB / 0.8427 GB, free: 3.316 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004536/0.6686, allocations: 309.3 kB / 0.843 GB, free: 3.012 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003257/0.6689, allocations: 220.2 kB / 0.8432 GB, free: 2.77 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005583/0.6695, allocations: 331.3 kB / 0.8435 GB, free: 2.434 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.6695, allocations: 0 / 0.8435 GB, free: 2.434 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007563/0.6702, allocations: 424.6 kB / 0.8439 GB, free: 2.012 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.6703, allocations: 4.938 kB / 0.8439 GB, free: 2.008 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.6703, allocations: 4 kB / 0.8439 GB, free: 2.004 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-06/0.6703, allocations: 4.094 kB / 0.8439 GB, free: 2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.6706, allocations: 67.91 kB / 0.844 GB, free: 1.934 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.6706, allocations: 7.938 kB / 0.844 GB, free: 1.926 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/0.6712, allocations: 65.7 kB / 0.8441 GB, free: 1.863 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.6712, allocations: 8 kB / 0.8441 GB, free: 1.855 MB / 0.573 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.0001351/0.6713, allocations: 200.9 kB / 0.8443 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.6714, allocations: 55.34 kB / 0.8443 GB, free: 1.598 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007679/0.6722, allocations: 424 kB / 0.8447 GB, free: 1.176 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6722, allocations: 7.938 kB / 0.8447 GB, free: 1.168 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.6723, allocations: 4 kB / 0.8447 GB, free: 1.164 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006128/0.6729, allocations: 436.3 kB / 0.8452 GB, free: 0.707 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.6748, allocations: 1.172 MB / 0.8463 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.6748, allocations: 4 kB / 0.8463 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.6752, allocations: 83.89 kB / 0.8464 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.6752, allocations: 5.438 kB / 0.8464 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.6753, allocations: 8 kB / 0.8464 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.6753, allocations: 7.984 kB / 0.8464 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6753, allocations: 192 / 0.8464 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005842/0.6811, allocations: 3.788 MB / 0.8501 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.6814, allocations: 176.4 kB / 0.8503 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.6815, allocations: 8 kB / 0.8503 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.682, allocations: 51.8 kB / 0.8503 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.6821, allocations: 19.97 kB / 0.8504 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.6821, allocations: 16 kB / 0.8504 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004009/0.6826, allocations: 366.8 kB / 0.8507 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6826, allocations: 0 / 0.8507 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001612/0.6842, allocations: 0.5148 MB / 0.8512 GB, free: 10.21 MB / 0.5886 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.000463/0.6847, allocations: 212.4 kB / 0.8514 GB, free: 10 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.6857, allocations: 0.5189 MB / 0.8519 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.6857, allocations: 3.938 kB / 0.8519 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.6861, allocations: 184.5 kB / 0.8521 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.6884, allocations: 362 kB / 0.8525 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.6912, allocations: 1.728 MB / 0.8541 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/0.692, allocations: 0.9529 MB / 0.8551 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008272/0.6928, allocations: 184.8 kB / 0.8552 GB, free: 6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.693, allocations: 51.44 kB / 0.8553 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of SimCode: time 7.71e-07/0.693, allocations: 0 / 0.8553 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of Templates: time 0.02229/0.7153, allocations: 12.51 MB / 0.8675 GB, free: 9.59 MB / 0.6042 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)