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.001067/0.001067, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001235/0.001236, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9936/0.9936, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 12.91 kB / 0.507 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1753, allocations: 82.3 MB / 0.5874 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4858/0.6611, allocations: 176.3 MB / 0.7595 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009862/0.671, allocations: 4.877 MB / 0.7643 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.6727, allocations: 43.69 kB / 0.7644 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.6746, allocations: 0.6179 MB / 0.765 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00584/0.6805, allocations: 1.894 MB / 0.7668 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.6832, allocations: 0.915 MB / 0.7677 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00412/0.6874, allocations: 3.065 MB / 0.7707 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.6891, allocations: 0.7753 MB / 0.7715 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.6916, allocations: 0.996 MB / 0.7724 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.6937, allocations: 0.9457 MB / 0.7733 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003751/0.6941, allocations: 48 kB / 0.7734 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/0.6974, allocations: 0.9392 MB / 0.7743 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007737/0.6982, allocations: 402.7 kB / 0.7747 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000709/0.6989, allocations: 269 kB / 0.775 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.7016, allocations: 1.391 MB / 0.7763 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7017, allocations: 0 / 0.7763 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7017, allocations: 0 / 0.7763 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.901e-05/0.7017, allocations: 0 / 0.7763 GB, free: 11.52 MB / 0.5919 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.005467/0.7072, allocations: 1.715 MB / 0.778 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.7073, allocations: 8.031 kB / 0.778 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005166/0.7124, allocations: 0.9345 MB / 0.7789 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.7145, allocations: 0.8562 MB / 0.7797 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.657e-05/0.7146, allocations: 77.97 kB / 0.7798 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003183/0.7149, allocations: 95.98 kB / 0.7799 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003975/0.7189, allocations: 1.571 MB / 0.7814 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.7189, allocations: 0 / 0.7814 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.7191, allocations: 35.98 kB / 0.7815 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.289e-05/0.7192, allocations: 45.98 kB / 0.7815 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005088/0.7243, allocations: 1.842 MB / 0.7833 GB, free: 4.191 MB / 0.5919 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.008554/0.7328, allocations: 4.763 MB / 0.788 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004161/0.737, allocations: 1.585 MB / 0.7895 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/0.7392, allocations: 0.843 MB / 0.7903 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/0.7405, allocations: 0.9569 MB / 0.7913 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002305/0.7428, allocations: 0.9104 MB / 0.7922 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 3.727e-06/0.7428, allocations: 4 kB / 0.7922 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.006932/0.7498, allocations: 2.439 MB / 0.7945 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.7499, allocations: 64.41 kB / 0.7946 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.7514, allocations: 1.189 MB / 0.7958 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.7515, allocations: 41.7 kB / 0.7958 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.752, allocations: 0.5448 MB / 0.7963 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.7523, allocations: 327.3 kB / 0.7967 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.342e-05/0.7524, allocations: 20 kB / 0.7967 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.7525, allocations: 341.9 kB / 0.797 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.7545, allocations: 0.6967 MB / 0.7977 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.7566, allocations: 0.9035 MB / 0.7986 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.7585, allocations: 0.7251 MB / 0.7993 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.7585, allocations: 7.984 kB / 0.7993 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004622/0.7631, allocations: 1.757 MB / 0.801 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.7632, allocations: 18.23 kB / 0.801 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.7632, allocations: 4 kB / 0.801 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.7632, allocations: 8.438 kB / 0.801 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.7649, allocations: 339.5 kB / 0.8013 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-05/0.765, allocations: 14.83 kB / 0.8014 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.7668, allocations: 260 kB / 0.8016 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.767, allocations: 47.97 kB / 0.8017 GB, free: 0.8711 MB / 0.6075 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007638/0.7677, allocations: 340.3 kB / 0.802 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.7681, allocations: 134.3 kB / 0.8021 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004903/0.773, allocations: 1.799 MB / 0.8039 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.773, allocations: 8 kB / 0.8039 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.773, allocations: 4 kB / 0.8039 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.7731, allocations: 3.984 kB / 0.8039 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007293/0.7804, allocations: 3.324 MB / 0.8071 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.7804, allocations: 7.938 kB / 0.8071 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.7821, allocations: 296 kB / 0.8074 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.76e-05/0.7821, allocations: 8 kB / 0.8074 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.7823, allocations: 35.97 kB / 0.8075 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.466e-05/0.7823, allocations: 4 kB / 0.8075 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.7823, allocations: 8 kB / 0.8075 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007212/0.7895, allocations: 2.828 MB / 0.8102 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007614/0.7903, allocations: 339.1 kB / 0.8106 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/0.7907, allocations: 24 kB / 0.8106 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.7922, allocations: 171.7 kB / 0.8107 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.7924, allocations: 76.45 kB / 0.8108 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.7925, allocations: 39.97 kB / 0.8109 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001315/0.7938, allocations: 0.8236 MB / 0.8117 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7938, allocations: 0 / 0.8117 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001371/0.7952, allocations: 343.6 kB / 0.812 GB, free: 6.082 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001405/0.7966, allocations: 0.5203 MB / 0.8125 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004803/0.8014, allocations: 1.611 MB / 0.8141 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.8015, allocations: 4 kB / 0.8141 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.8038, allocations: 0.8322 MB / 0.8149 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/0.8074, allocations: 0.582 MB / 0.8154 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006462/0.8139, allocations: 3.387 MB / 0.8188 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/0.8146, allocations: 1.183 MB / 0.8199 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001723/0.8164, allocations: 362 kB / 0.8203 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.8168, allocations: 115.4 kB / 0.8204 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of SimCode: time 8.71e-07/0.8168, allocations: 7.875 kB / 0.8204 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of Templates: time 0.03981/0.8566, allocations: 21.93 MB / 0.8418 GB, free: 7.91 MB / 0.6544 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)