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.009104/0.009104, allocations: 99.3 kB / 15.73 MB, free: 5.602 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.001667/0.001667, allocations: 190.1 kB / 16.68 MB, free: 5.523 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7868/0.7868, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.84 kB / 0.5856 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1819, allocations: 80.92 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.6207/0.8027, allocations: 183.2 MB / 0.8436 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008517/0.8112, allocations: 4.861 MB / 0.8483 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008685/0.8121, allocations: 30 kB / 0.8483 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.8135, allocations: 436.6 kB / 0.8488 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.8173, allocations: 1.408 MB / 0.8501 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.8195, allocations: 0.7748 MB / 0.8509 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002393/0.8219, allocations: 1.841 MB / 0.8527 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008488/0.8228, allocations: 0.6072 MB / 0.8533 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.8246, allocations: 0.8719 MB / 0.8541 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.8257, allocations: 0.5527 MB / 0.8547 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.8259, allocations: 60.31 kB / 0.8547 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.8286, allocations: 1.415 MB / 0.8561 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.8289, allocations: 258 kB / 0.8564 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004373/0.8293, allocations: 406.1 kB / 0.8567 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.8318, allocations: 1.431 MB / 0.8581 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.8318, allocations: 10.14 kB / 0.8581 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8318, allocations: 0 / 0.8581 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.8319, allocations: 0 / 0.8581 GB, free: 8.73 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.001711/0.8336, allocations: 1.125 MB / 0.8592 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.8336, allocations: 11.2 kB / 0.8593 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.8349, allocations: 216.2 kB / 0.8595 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/0.8359, allocations: 0.6128 MB / 0.8601 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.8359, allocations: 37 kB / 0.8601 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.783e-05/0.836, allocations: 48 kB / 0.8601 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000919/0.8369, allocations: 498.3 kB / 0.8606 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.837, allocations: 0 / 0.8606 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.837, allocations: 24 kB / 0.8606 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.8371, allocations: 16.94 kB / 0.8607 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007925/0.8379, allocations: 435.7 kB / 0.8611 GB, free: 5.949 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.002677/0.8406, allocations: 2.018 MB / 0.863 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/0.8412, allocations: 345.7 kB / 0.8634 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.8416, allocations: 204.6 kB / 0.8636 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/0.8419, allocations: 194.5 kB / 0.8638 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.8419, allocations: 38.84 kB / 0.8638 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.784e-06/0.8419, allocations: 0 / 0.8638 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001235/0.8432, allocations: 0.5413 MB / 0.8643 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.8432, allocations: 59.34 kB / 0.8644 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/0.8438, allocations: 0.5108 MB / 0.8649 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.8438, allocations: 37.7 kB / 0.8649 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.8441, allocations: 308.6 kB / 0.8652 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.8442, allocations: 122.9 kB / 0.8653 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.8443, allocations: 66.02 kB / 0.8654 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.8445, allocations: 366.8 kB / 0.8657 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.8448, allocations: 138.1 kB / 0.8659 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.8451, allocations: 224.5 kB / 0.8661 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.8457, allocations: 343.5 kB / 0.8664 GB, free: 168 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.8457, allocations: 0 / 0.8664 GB, free: 168 kB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007599/0.8465, allocations: 428.8 kB / 0.8668 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.8465, allocations: 8 kB / 0.8668 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8466, allocations: 3.938 kB / 0.8668 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.8466, allocations: 7.875 kB / 0.8668 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.8469, allocations: 76 kB / 0.8669 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.847, allocations: 4 kB / 0.8669 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.8474, allocations: 39.75 kB / 0.8669 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.8475, allocations: 15.94 kB / 0.867 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004272/0.8479, allocations: 304 kB / 0.8673 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003087/0.8482, allocations: 220.2 kB / 0.8675 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005396/0.8488, allocations: 331.1 kB / 0.8678 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.8488, allocations: 0 / 0.8678 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006755/0.8495, allocations: 425.1 kB / 0.8682 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.8495, allocations: 8 kB / 0.8682 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.8495, allocations: 3.938 kB / 0.8682 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.8495, allocations: 4 kB / 0.8682 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.8498, allocations: 74.66 kB / 0.8683 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.8498, allocations: 5.797 kB / 0.8683 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.8503, allocations: 35.95 kB / 0.8683 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.8503, allocations: 12 kB / 0.8683 GB, free: 14.15 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.0001385/0.8504, allocations: 196.2 kB / 0.8685 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.8505, allocations: 67.58 kB / 0.8686 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007773/0.8513, allocations: 424.6 kB / 0.869 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.8513, allocations: 4 kB / 0.869 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.8514, allocations: 4 kB / 0.869 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006083/0.852, allocations: 436.5 kB / 0.8694 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.8537, allocations: 1.179 MB / 0.8706 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8537, allocations: 0 / 0.8706 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.8541, allocations: 87.89 kB / 0.8706 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.8541, allocations: 0 / 0.8706 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.8542, allocations: 8 kB / 0.8706 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8542, allocations: 4 kB / 0.8707 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8542, allocations: 4 kB / 0.8707 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.8554, allocations: 0.7305 MB / 0.8714 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.8556, allocations: 176.7 kB / 0.8715 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/0.8557, allocations: 12.08 kB / 0.8715 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.8561, allocations: 27.97 kB / 0.8716 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/0.8562, allocations: 23.91 kB / 0.8716 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.8563, allocations: 18.23 kB / 0.8716 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004695/0.8568, allocations: 370.8 kB / 0.872 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.794e-06/0.8568, allocations: 0 / 0.872 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009454/0.8577, allocations: 331.3 kB / 0.8723 GB, free: 9.922 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.00053/0.8583, allocations: 187.5 kB / 0.8725 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.8594, allocations: 0.5231 MB / 0.873 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8594, allocations: 4 kB / 0.873 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.8597, allocations: 175.8 kB / 0.8731 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.8613, allocations: 347.5 kB / 0.8735 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.8633, allocations: 1.258 MB / 0.8747 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.864, allocations: 0.9334 MB / 0.8756 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005645/0.8646, allocations: 184.8 kB / 0.8758 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.8647, allocations: 47.42 kB / 0.8758 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.8648, allocations: 0 / 0.8758 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of Templates: time 0.02458/0.8893, allocations: 11.8 MB / 0.8874 GB, free: 10.56 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)