Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005673/0.005673, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9457/0.9457, allocations: 135.3 MB / 426.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003113, allocations: 8 kB / 0.5076 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1778, allocations: 82.31 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5573/0.7352, allocations: 189 MB / 0.7725 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.7456, allocations: 5.145 MB / 0.7775 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.7474, allocations: 43.62 kB / 0.7776 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.7494, allocations: 0.7077 MB / 0.7783 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0071/0.7565, allocations: 2.459 MB / 0.7807 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.7594, allocations: 0.9924 MB / 0.7816 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004612/0.764, allocations: 3.617 MB / 0.7852 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.7655, allocations: 0.8437 MB / 0.786 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.7678, allocations: 0.9998 MB / 0.787 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.7696, allocations: 0.9963 MB / 0.7879 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.7697, allocations: 52 kB / 0.788 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004208/0.7739, allocations: 2.069 MB / 0.79 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005286/0.7745, allocations: 410.6 kB / 0.7904 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007834/0.7753, allocations: 0.6425 MB / 0.791 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003708/0.779, allocations: 2.243 MB / 0.7932 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.779, allocations: 3.938 kB / 0.7932 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.779, allocations: 3.938 kB / 0.7932 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.005e-05/0.779, allocations: 0 / 0.7932 GB, free: 10.23 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004993/0.784, allocations: 1.706 MB / 0.7949 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.7841, allocations: 8.031 kB / 0.7949 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005559/0.7897, allocations: 0.9229 MB / 0.7958 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.7913, allocations: 0.9098 MB / 0.7967 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.506e-05/0.7914, allocations: 66 kB / 0.7968 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.7916, allocations: 99.95 kB / 0.7969 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00378/0.7954, allocations: 1.579 MB / 0.7984 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.7954, allocations: 0 / 0.7984 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.7956, allocations: 35.98 kB / 0.7984 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.524e-05/0.7956, allocations: 53.97 kB / 0.7985 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005167/0.8008, allocations: 1.846 MB / 0.8003 GB, free: 2.855 MB / 0.6075 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.007683/0.8085, allocations: 4.752 MB / 0.8049 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004376/0.8129, allocations: 1.588 MB / 0.8065 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002302/0.8152, allocations: 0.8547 MB / 0.8073 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.8165, allocations: 0.9608 MB / 0.8082 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0025/0.819, allocations: 0.9066 MB / 0.8091 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.536e-06/0.8191, allocations: 7.938 kB / 0.8091 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007768/0.8268, allocations: 2.439 MB / 0.8115 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.8269, allocations: 68.34 kB / 0.8116 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.8286, allocations: 1.197 MB / 0.8128 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.8288, allocations: 45.7 kB / 0.8128 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004867/0.8293, allocations: 0.5487 MB / 0.8133 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.8296, allocations: 323.3 kB / 0.8136 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.8298, allocations: 81.67 kB / 0.8137 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.83, allocations: 345.9 kB / 0.8141 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.8322, allocations: 0.6967 MB / 0.8147 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/0.8346, allocations: 0.9152 MB / 0.8156 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004502/0.8391, allocations: 1.542 MB / 0.8171 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.8392, allocations: 0 / 0.8171 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005267/0.8444, allocations: 1.776 MB / 0.8189 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.8445, allocations: 4 kB / 0.8189 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.8445, allocations: 6.656 kB / 0.8189 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.8445, allocations: 12 kB / 0.8189 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.8463, allocations: 343.8 kB / 0.8192 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.944e-05/0.8464, allocations: 11.94 kB / 0.8192 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.8482, allocations: 259.6 kB / 0.8195 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.8484, allocations: 47.97 kB / 0.8195 GB, free: 14.55 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0006496/0.849, allocations: 339.8 kB / 0.8198 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.8493, allocations: 138.2 kB / 0.82 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005361/0.8547, allocations: 1.799 MB / 0.8217 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.8547, allocations: 12 kB / 0.8217 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.8547, allocations: 0 / 0.8217 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.8547, allocations: 3.984 kB / 0.8217 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007809/0.8626, allocations: 3.336 MB / 0.825 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.8626, allocations: 4 kB / 0.825 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/0.8643, allocations: 287.7 kB / 0.8253 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/0.8643, allocations: 11.94 kB / 0.8253 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.8644, allocations: 31.97 kB / 0.8253 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.948e-06/0.8644, allocations: 8 kB / 0.8253 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.8644, allocations: 4 kB / 0.8253 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007527/0.872, allocations: 2.839 MB / 0.8281 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006465/0.8726, allocations: 331.2 kB / 0.8284 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/0.8729, allocations: 20 kB / 0.8284 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.8746, allocations: 179.7 kB / 0.8286 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.8748, allocations: 72.44 kB / 0.8287 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.8749, allocations: 43.97 kB / 0.8287 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001138/0.876, allocations: 0.8315 MB / 0.8295 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.876, allocations: 0 / 0.8295 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001101/0.8771, allocations: 339.7 kB / 0.8299 GB, free: 3.746 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001331/0.8785, allocations: 0.5357 MB / 0.8304 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005065/0.8836, allocations: 1.615 MB / 0.832 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8836, allocations: 4 kB / 0.832 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002461/0.8861, allocations: 0.8322 MB / 0.8328 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/0.8899, allocations: 0.6062 MB / 0.8334 GB, free: 364 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006948/0.8968, allocations: 3.506 MB / 0.8368 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.8979, allocations: 1.186 MB / 0.838 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001901/0.8998, allocations: 362 kB / 0.8383 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005396/0.9004, allocations: 123.3 kB / 0.8384 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.9004, allocations: 0 / 0.8384 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of Templates: time 0.04033/0.9407, allocations: 22.57 MB / 0.8605 GB, free: 4.773 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)