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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001214/0.001214, allocations: 187 kB / 17.34 MB, free: 5.762 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7747/0.7747, allocations: 132.2 MB / 423.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 68.02 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1396, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5452/0.6848, allocations: 183.2 MB / 0.8393 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008187/0.693, allocations: 4.861 MB / 0.844 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.6944, allocations: 31.41 kB / 0.844 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.6959, allocations: 442.5 kB / 0.8445 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.7002, allocations: 1.411 MB / 0.8458 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.7026, allocations: 0.7769 MB / 0.8466 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002824/0.7054, allocations: 1.838 MB / 0.8484 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.7065, allocations: 0.6034 MB / 0.849 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.7087, allocations: 0.8884 MB / 0.8498 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.7103, allocations: 0.5413 MB / 0.8504 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000234/0.7106, allocations: 57.94 kB / 0.8504 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.7137, allocations: 1.412 MB / 0.8518 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004601/0.7142, allocations: 262.6 kB / 0.8521 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009106/0.7151, allocations: 406.5 kB / 0.8524 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.7183, allocations: 1.427 MB / 0.8538 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7183, allocations: 0 / 0.8538 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7183, allocations: 0 / 0.8538 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.259e-05/0.7184, allocations: 2.781 kB / 0.8538 GB, free: 14.45 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.002275/0.7206, allocations: 1.103 MB / 0.8549 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.7207, allocations: 10.75 kB / 0.8549 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.7221, allocations: 205 kB / 0.8551 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.7232, allocations: 0.6217 MB / 0.8557 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.7233, allocations: 37.03 kB / 0.8558 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/0.7234, allocations: 52.66 kB / 0.8558 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009439/0.7243, allocations: 498.5 kB / 0.8563 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.7243, allocations: 0 / 0.8563 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-05/0.7244, allocations: 20.88 kB / 0.8563 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.7244, allocations: 20 kB / 0.8563 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007689/0.7252, allocations: 438 kB / 0.8567 GB, free: 12.41 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.002868/0.7281, allocations: 1.995 MB / 0.8587 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.7287, allocations: 344.3 kB / 0.859 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.729, allocations: 217.2 kB / 0.8592 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/0.7294, allocations: 194.5 kB / 0.8594 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.7294, allocations: 34.84 kB / 0.8594 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.7294, allocations: 0 / 0.8594 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001327/0.7307, allocations: 0.5457 MB / 0.86 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.7308, allocations: 59.39 kB / 0.86 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000625/0.7314, allocations: 0.4991 MB / 0.8605 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/0.7315, allocations: 33.7 kB / 0.8606 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.7317, allocations: 308.2 kB / 0.8609 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.7319, allocations: 114.3 kB / 0.861 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.732, allocations: 70.02 kB / 0.861 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7322, allocations: 362.8 kB / 0.8614 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.7325, allocations: 150 kB / 0.8615 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.7328, allocations: 224.5 kB / 0.8617 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/0.7334, allocations: 340.2 kB / 0.8621 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7334, allocations: 0 / 0.8621 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007937/0.7342, allocations: 432.6 kB / 0.8625 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7342, allocations: 4 kB / 0.8625 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.7342, allocations: 7.938 kB / 0.8625 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.7343, allocations: 3.938 kB / 0.8625 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.7346, allocations: 67.91 kB / 0.8625 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.7346, allocations: 4 kB / 0.8626 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.7352, allocations: 39.84 kB / 0.8626 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.7352, allocations: 15.94 kB / 0.8626 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000461/0.7357, allocations: 308 kB / 0.8629 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000318/0.736, allocations: 207.6 kB / 0.8631 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005649/0.7366, allocations: 339.2 kB / 0.8634 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.7366, allocations: 0 / 0.8634 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007201/0.7373, allocations: 420.7 kB / 0.8638 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.7373, allocations: 12 kB / 0.8638 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.7374, allocations: 0 / 0.8638 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/0.7374, allocations: 0 / 0.8638 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.7377, allocations: 75.83 kB / 0.8639 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.7377, allocations: 4 kB / 0.8639 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.7382, allocations: 35.77 kB / 0.8639 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.7382, allocations: 8 kB / 0.8639 GB, free: 4.934 MB / 0.6231 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.0001701/0.7384, allocations: 216.1 kB / 0.8642 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.7385, allocations: 59.25 kB / 0.8642 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008183/0.7394, allocations: 424.4 kB / 0.8646 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.7394, allocations: 0 / 0.8646 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7394, allocations: 4 kB / 0.8646 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006552/0.74, allocations: 432.2 kB / 0.865 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.7419, allocations: 1.17 MB / 0.8662 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.7419, allocations: 4 kB / 0.8662 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.7423, allocations: 88.08 kB / 0.8663 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-06/0.7423, allocations: 4 kB / 0.8663 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.7424, allocations: 13.61 kB / 0.8663 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.7424, allocations: 7.938 kB / 0.8663 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7424, allocations: 0 / 0.8663 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.7435, allocations: 0.727 MB / 0.867 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.7438, allocations: 180.3 kB / 0.8672 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.7439, allocations: 8 kB / 0.8672 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.7444, allocations: 37.91 kB / 0.8672 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.7445, allocations: 23.91 kB / 0.8672 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.7445, allocations: 16 kB / 0.8673 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004147/0.7449, allocations: 362.8 kB / 0.8676 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7449, allocations: 0 / 0.8676 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008958/0.7458, allocations: 311.3 kB / 0.8679 GB, free: 0.7227 MB / 0.6231 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.0004902/0.7463, allocations: 198.3 kB / 0.8681 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.7474, allocations: 0.519 MB / 0.8686 GB, free: 12 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7474, allocations: 0 / 0.8686 GB, free: 12 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.7478, allocations: 184.5 kB / 0.8688 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.7495, allocations: 349.4 kB / 0.8691 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.7516, allocations: 1.285 MB / 0.8704 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.7522, allocations: 0.9295 MB / 0.8713 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.7524, allocations: 55.44 kB / 0.8713 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.7524, allocations: 0 / 0.8713 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of Templates: time 0.01586/0.7683, allocations: 9.765 MB / 0.8809 GB, free: 3.496 MB / 0.6387 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)