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/Complex 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) 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/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_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001648/0.001648, allocations: 181 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/package.mo): time 0.7356/0.7356, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.418/1.418, allocations: 222.9 MB / 403.4 MB, free: 7.055 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.0009281/0.0009282, allocations: 94.36 kB / 484.3 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009442/0.0009443, allocations: 51.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1294, allocations: 80.2 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4553/0.5848, allocations: 181 MB / 0.8169 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.5955, allocations: 4.919 MB / 0.8217 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.5967, allocations: 27.81 kB / 0.8218 GB, free: 9.164 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.5983, allocations: 386 kB / 0.8221 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004957/0.6033, allocations: 1.316 MB / 0.8234 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.6062, allocations: 0.7012 MB / 0.8241 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003819/0.61, allocations: 2.536 MB / 0.8266 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.611, allocations: 0.507 MB / 0.8271 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.613, allocations: 0.7897 MB / 0.8278 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.6149, allocations: 0.5626 MB / 0.8284 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.6152, allocations: 32 kB / 0.8284 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004228/0.6194, allocations: 1.613 MB / 0.83 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005955/0.62, allocations: 231.3 kB / 0.8302 GB, free: 488 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.621, allocations: 374.1 kB / 0.8306 GB, free: 112 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002833/0.6239, allocations: 1.472 MB / 0.832 GB, free: 14.63 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6239, allocations: 0 / 0.832 GB, free: 14.63 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.11e-07/0.6239, allocations: 0 / 0.832 GB, free: 14.63 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.6239, allocations: 0 / 0.832 GB, free: 14.63 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.00198/0.6259, allocations: 1.102 MB / 0.8331 GB, free: 13.48 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.626, allocations: 8.031 kB / 0.8331 GB, free: 13.47 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.6275, allocations: 202.8 kB / 0.8333 GB, free: 13.27 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.6286, allocations: 0.5887 MB / 0.8339 GB, free: 12.64 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.6286, allocations: 37 kB / 0.8339 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-05/0.6287, allocations: 48 kB / 0.8339 GB, free: 12.56 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/0.6297, allocations: 498.3 kB / 0.8344 GB, free: 12.06 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.6298, allocations: 7.938 kB / 0.8344 GB, free: 12.05 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.6298, allocations: 19.94 kB / 0.8344 GB, free: 12.04 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/0.6299, allocations: 16.94 kB / 0.8345 GB, free: 12.02 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009131/0.6308, allocations: 435.7 kB / 0.8349 GB, free: 11.59 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.003317/0.6341, allocations: 2.002 MB / 0.8368 GB, free: 9.414 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.6347, allocations: 345.3 kB / 0.8372 GB, free: 9.07 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.635, allocations: 209.3 kB / 0.8374 GB, free: 8.863 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.6353, allocations: 198.5 kB / 0.8375 GB, free: 8.633 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.6354, allocations: 38.84 kB / 0.8376 GB, free: 8.586 MB / 0.573 GB Notification: Performance of pre-optimization done (n=33): time 2.445e-06/0.6354, allocations: 0 / 0.8376 GB, free: 8.586 MB / 0.573 GB Notification: Performance of matching and sorting (n=33): time 0.001279/0.6367, allocations: 0.5418 MB / 0.8381 GB, free: 8.039 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.6367, allocations: 51.41 kB / 0.8382 GB, free: 7.977 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.6373, allocations: 0.5108 MB / 0.8387 GB, free: 7.457 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.6373, allocations: 37.7 kB / 0.8387 GB, free: 7.414 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.6375, allocations: 300.2 kB / 0.839 GB, free: 7.117 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-05/0.6376, allocations: 114.3 kB / 0.8391 GB, free: 7.004 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.6377, allocations: 69.94 kB / 0.8392 GB, free: 6.93 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6379, allocations: 362.8 kB / 0.8395 GB, free: 6.566 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.6381, allocations: 146.1 kB / 0.8396 GB, free: 6.422 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.6385, allocations: 230.1 kB / 0.8399 GB, free: 6.172 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.639, allocations: 335.2 kB / 0.8402 GB, free: 5.832 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6391, allocations: 3.938 kB / 0.8402 GB, free: 5.828 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007002/0.6398, allocations: 428.6 kB / 0.8406 GB, free: 5.402 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6398, allocations: 4 kB / 0.8406 GB, free: 5.398 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6398, allocations: 96 / 0.8406 GB, free: 5.398 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.6398, allocations: 15.88 kB / 0.8406 GB, free: 5.383 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.6402, allocations: 75.89 kB / 0.8407 GB, free: 5.309 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.6402, allocations: 3.312 kB / 0.8407 GB, free: 5.309 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.6407, allocations: 55.66 kB / 0.8407 GB, free: 5.254 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.6408, allocations: 16 kB / 0.8408 GB, free: 5.238 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004328/0.6412, allocations: 308 kB / 0.841 GB, free: 4.934 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003001/0.6415, allocations: 211.6 kB / 0.8412 GB, free: 4.699 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005416/0.6421, allocations: 331.3 kB / 0.8416 GB, free: 4.363 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.6421, allocations: 3.938 kB / 0.8416 GB, free: 4.359 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006748/0.6428, allocations: 424.7 kB / 0.842 GB, free: 3.938 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.6428, allocations: 5.875 kB / 0.842 GB, free: 3.934 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-06/0.6428, allocations: 0 / 0.842 GB, free: 3.934 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/0.6428, allocations: 4 kB / 0.842 GB, free: 3.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.6431, allocations: 71.91 kB / 0.8421 GB, free: 3.859 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.6431, allocations: 3.938 kB / 0.8421 GB, free: 3.855 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.6436, allocations: 61.28 kB / 0.8421 GB, free: 3.797 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.6437, allocations: 16 kB / 0.8421 GB, free: 3.781 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.0001259/0.6438, allocations: 196.2 kB / 0.8423 GB, free: 3.582 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-05/0.6439, allocations: 55.34 kB / 0.8424 GB, free: 3.527 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007608/0.6447, allocations: 431.9 kB / 0.8428 GB, free: 3.094 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6447, allocations: 7.938 kB / 0.8428 GB, free: 3.086 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6447, allocations: 0 / 0.8428 GB, free: 3.086 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005894/0.6453, allocations: 428.3 kB / 0.8432 GB, free: 2.637 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.6471, allocations: 1.174 MB / 0.8443 GB, free: 1.387 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6471, allocations: 3.984 kB / 0.8443 GB, free: 1.383 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.6475, allocations: 88.08 kB / 0.8444 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.6476, allocations: 8 kB / 0.8444 GB, free: 1.289 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.6476, allocations: 8 kB / 0.8444 GB, free: 1.281 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6476, allocations: 0 / 0.8444 GB, free: 1.281 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6476, allocations: 4 kB / 0.8445 GB, free: 1.277 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005432/0.653, allocations: 3.787 MB / 0.8481 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.6533, allocations: 172.4 kB / 0.8483 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.6534, allocations: 11.98 kB / 0.8483 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.6539, allocations: 55.8 kB / 0.8484 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.654, allocations: 19.97 kB / 0.8484 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.654, allocations: 16 kB / 0.8484 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003908/0.6544, allocations: 370.8 kB / 0.8488 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6544, allocations: 0 / 0.8488 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001834/0.6563, allocations: 0.511 MB / 0.8493 GB, free: 12.14 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.0004689/0.6567, allocations: 204.7 kB / 0.8495 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.658, allocations: 0.5123 MB / 0.85 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.658, allocations: 7.938 kB / 0.85 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.6584, allocations: 175.8 kB / 0.8501 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.6602, allocations: 374.3 kB / 0.8505 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.6625, allocations: 1.728 MB / 0.8522 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.6631, allocations: 0.949 MB / 0.8531 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007066/0.6638, allocations: 188.8 kB / 0.8533 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.6639, allocations: 47.44 kB / 0.8533 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of SimCode: time 6.72e-07/0.6639, allocations: 0 / 0.8533 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of Templates: time 0.01968/0.6836, allocations: 12.51 MB / 0.8655 GB, free: 11.53 MB / 0.6042 GB make -j1 -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.makefile (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 & ./IDEAS_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)