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.0009789/0.0009791, allocations: 102.1 kB / 16.41 MB, free: 6.5 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.0009618/0.0009617, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.202/1.202, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7154/0.7154, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 62.31 kB / 0.5862 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1284, allocations: 80.93 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4814/0.6098, allocations: 183.2 MB / 0.8442 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007315/0.6172, allocations: 4.865 MB / 0.849 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000851/0.6181, allocations: 29 kB / 0.849 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.6192, allocations: 437.1 kB / 0.8494 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.6223, allocations: 1.412 MB / 0.8508 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.6242, allocations: 0.7724 MB / 0.8516 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001997/0.6262, allocations: 1.843 MB / 0.8534 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007825/0.627, allocations: 0.6072 MB / 0.8539 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.6287, allocations: 0.8783 MB / 0.8548 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.6299, allocations: 0.5447 MB / 0.8553 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.63, allocations: 58 kB / 0.8554 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.6325, allocations: 1.414 MB / 0.8568 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.6327, allocations: 260.3 kB / 0.857 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.6332, allocations: 412.4 kB / 0.8574 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.6352, allocations: 1.418 MB / 0.8588 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.6352, allocations: 0 / 0.8588 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6352, allocations: 0 / 0.8588 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.6352, allocations: 0 / 0.8588 GB, free: 8.762 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.001582/0.6368, allocations: 1.108 MB / 0.8599 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6369, allocations: 15.23 kB / 0.8599 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.6381, allocations: 213.4 kB / 0.8601 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009767/0.6391, allocations: 0.6181 MB / 0.8607 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.6392, allocations: 33 kB / 0.8607 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.6392, allocations: 48 kB / 0.8608 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008139/0.6401, allocations: 0.4906 MB / 0.8613 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.6401, allocations: 3.938 kB / 0.8613 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.6401, allocations: 16 kB / 0.8613 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.6402, allocations: 20.94 kB / 0.8613 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007426/0.6409, allocations: 439.7 kB / 0.8617 GB, free: 6 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.002548/0.6435, allocations: 1.998 MB / 0.8637 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.644, allocations: 343.6 kB / 0.864 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.6444, allocations: 212.6 kB / 0.8642 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/0.6446, allocations: 194.5 kB / 0.8644 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.6447, allocations: 38.84 kB / 0.8644 GB, free: 3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 3.016e-06/0.6447, allocations: 7.984 kB / 0.8644 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001171/0.6459, allocations: 0.5371 MB / 0.865 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.6459, allocations: 55.41 kB / 0.865 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005229/0.6464, allocations: 0.5107 MB / 0.8655 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.6465, allocations: 37.7 kB / 0.8655 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.6467, allocations: 304.2 kB / 0.8658 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.474e-05/0.6468, allocations: 114.3 kB / 0.8659 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.6469, allocations: 66.03 kB / 0.866 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6471, allocations: 366.8 kB / 0.8664 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.6473, allocations: 138.1 kB / 0.8665 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.6477, allocations: 220.5 kB / 0.8667 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.6482, allocations: 347.5 kB / 0.867 GB, free: 244 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6482, allocations: 7.938 kB / 0.867 GB, free: 236 kB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006677/0.6489, allocations: 420.5 kB / 0.8674 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.6489, allocations: 4 kB / 0.8674 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.6489, allocations: 0 / 0.8674 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.6489, allocations: 10.88 kB / 0.8674 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.6493, allocations: 75.89 kB / 0.8675 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6493, allocations: 8.031 kB / 0.8675 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.6497, allocations: 39.67 kB / 0.8676 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.6498, allocations: 12 kB / 0.8676 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004037/0.6502, allocations: 308 kB / 0.8679 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002889/0.6505, allocations: 219.2 kB / 0.8681 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005165/0.651, allocations: 327.1 kB / 0.8684 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.651, allocations: 0 / 0.8684 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006395/0.6516, allocations: 432.7 kB / 0.8688 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.6517, allocations: 4 kB / 0.8688 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.6517, allocations: 7.938 kB / 0.8688 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-06/0.6517, allocations: 0 / 0.8688 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.652, allocations: 71.84 kB / 0.8689 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.652, allocations: 3.938 kB / 0.8689 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004188/0.6524, allocations: 39.91 kB / 0.8689 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.6525, allocations: 16 kB / 0.8689 GB, free: 14.22 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.0001324/0.6526, allocations: 200.1 kB / 0.8691 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.6527, allocations: 55.34 kB / 0.8692 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007298/0.6534, allocations: 421.4 kB / 0.8696 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.6534, allocations: 4 kB / 0.8696 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.6535, allocations: 0 / 0.8696 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005772/0.654, allocations: 440.5 kB / 0.87 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.6557, allocations: 1.175 MB / 0.8712 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6557, allocations: 4 kB / 0.8712 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.6561, allocations: 87.88 kB / 0.8712 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.6561, allocations: 4 kB / 0.8713 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.6562, allocations: 8 kB / 0.8713 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.6562, allocations: 4.875 kB / 0.8713 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6562, allocations: 1.562 kB / 0.8713 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009999/0.6572, allocations: 0.7301 MB / 0.872 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.6575, allocations: 184.3 kB / 0.8722 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.6575, allocations: 8 kB / 0.8722 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.658, allocations: 19.97 kB / 0.8722 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.658, allocations: 27.91 kB / 0.8722 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.6581, allocations: 19.81 kB / 0.8722 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000393/0.6585, allocations: 366.8 kB / 0.8726 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6585, allocations: 0 / 0.8726 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008298/0.6593, allocations: 319.3 kB / 0.8729 GB, free: 10.02 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.0003872/0.6597, allocations: 192.2 kB / 0.8731 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009201/0.6606, allocations: 0.5153 MB / 0.8736 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6606, allocations: 4 kB / 0.8736 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.6609, allocations: 179.8 kB / 0.8737 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.6624, allocations: 355.8 kB / 0.8741 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.6645, allocations: 1.278 MB / 0.8753 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.6649, allocations: 0.9295 MB / 0.8762 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.6651, allocations: 55.42 kB / 0.8763 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.6651, allocations: 0 / 0.8763 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of Templates: time 0.01213/0.6772, allocations: 9.76 MB / 0.8858 GB, free: 12.77 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)