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.001567/0.001567, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001964/0.001964, allocations: 196.6 kB / 16.25 MB, free: 6.625 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9477/0.9477, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 64.81 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1677, allocations: 81.03 MB / 0.5845 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.446/0.6137, allocations: 191.3 MB / 0.7713 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009121/0.6228, allocations: 5.121 MB / 0.7763 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.6243, allocations: 47.69 kB / 0.7763 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.6264, allocations: 0.7311 MB / 0.7771 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006789/0.6332, allocations: 2.444 MB / 0.7794 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.6361, allocations: 1.015 MB / 0.7804 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004156/0.6402, allocations: 2.695 MB / 0.7831 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.6418, allocations: 0.9444 MB / 0.784 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002502/0.6443, allocations: 1.136 MB / 0.7851 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.6459, allocations: 1.055 MB / 0.7861 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.6461, allocations: 88 kB / 0.7862 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00356/0.6497, allocations: 1.851 MB / 0.788 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005232/0.6502, allocations: 466.5 kB / 0.7885 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008162/0.6511, allocations: 0.6643 MB / 0.7891 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.6546, allocations: 2.321 MB / 0.7914 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6546, allocations: 0 / 0.7914 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6546, allocations: 0 / 0.7914 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.6546, allocations: 4 kB / 0.7914 GB, free: 8.523 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.005068/0.6597, allocations: 1.96 MB / 0.7933 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6598, allocations: 8.031 kB / 0.7933 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005633/0.6654, allocations: 0.8916 MB / 0.7942 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.6671, allocations: 0.9136 MB / 0.7951 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.6672, allocations: 70 kB / 0.7951 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.6674, allocations: 88 kB / 0.7952 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00392/0.6713, allocations: 1.587 MB / 0.7968 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.6713, allocations: 0 / 0.7968 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.6715, allocations: 32 kB / 0.7968 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.485e-05/0.6715, allocations: 49.98 kB / 0.7968 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005299/0.6768, allocations: 1.854 MB / 0.7987 GB, free: 0.9297 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.007776/0.6846, allocations: 4.742 MB / 0.8033 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004442/0.6891, allocations: 1.56 MB / 0.8048 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/0.6914, allocations: 0.8586 MB / 0.8057 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.6928, allocations: 0.9373 MB / 0.8066 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002512/0.6953, allocations: 0.9105 MB / 0.8075 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 2.765e-06/0.6954, allocations: 0 / 0.8075 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007734/0.7031, allocations: 2.458 MB / 0.8099 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.7032, allocations: 64.41 kB / 0.8099 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.7047, allocations: 1.193 MB / 0.8111 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.7048, allocations: 53.69 kB / 0.8111 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.7053, allocations: 0.5331 MB / 0.8117 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.7056, allocations: 331.3 kB / 0.812 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000357/0.706, allocations: 190.5 kB / 0.8122 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.7062, allocations: 345.9 kB / 0.8125 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.7085, allocations: 0.6964 MB / 0.8132 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.7109, allocations: 0.9152 MB / 0.8141 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004378/0.7152, allocations: 1.554 MB / 0.8156 GB, free: 15 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.7153, allocations: 4 kB / 0.8156 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005088/0.7204, allocations: 1.776 MB / 0.8173 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.7204, allocations: 4 kB / 0.8173 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.7204, allocations: 4 kB / 0.8173 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.7204, allocations: 12 kB / 0.8173 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/0.7223, allocations: 343.9 kB / 0.8177 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.7223, allocations: 12.08 kB / 0.8177 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.7241, allocations: 258.6 kB / 0.8179 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.7242, allocations: 47.97 kB / 0.818 GB, free: 12.54 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.0005924/0.7248, allocations: 335.7 kB / 0.8183 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.725, allocations: 138.3 kB / 0.8184 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/0.7302, allocations: 1.799 MB / 0.8202 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.7302, allocations: 12 kB / 0.8202 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7303, allocations: 0 / 0.8202 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.7303, allocations: 3.984 kB / 0.8202 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007547/0.7378, allocations: 3.328 MB / 0.8234 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.7379, allocations: 4 kB / 0.8234 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.7395, allocations: 295.9 kB / 0.8237 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.7395, allocations: 8 kB / 0.8237 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.7397, allocations: 35.95 kB / 0.8238 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.7397, allocations: 8.547 kB / 0.8238 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.7397, allocations: 13.75 kB / 0.8238 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007474/0.7472, allocations: 2.843 MB / 0.8266 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006515/0.7478, allocations: 327.1 kB / 0.8269 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.7481, allocations: 20 kB / 0.8269 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.7496, allocations: 171.7 kB / 0.8271 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.7498, allocations: 80.44 kB / 0.8271 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.813e-05/0.7499, allocations: 39.97 kB / 0.8272 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001128/0.751, allocations: 0.8315 MB / 0.828 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.751, allocations: 3.938 kB / 0.828 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001027/0.752, allocations: 339.6 kB / 0.8283 GB, free: 1.723 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.001791/0.7538, allocations: 0.5211 MB / 0.8288 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005305/0.7592, allocations: 1.786 MB / 0.8306 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7592, allocations: 0 / 0.8306 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.7616, allocations: 0.8359 MB / 0.8314 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/0.7643, allocations: 0.6202 MB / 0.832 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006434/0.7707, allocations: 3.408 MB / 0.8353 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000881/0.7716, allocations: 1.179 MB / 0.8365 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001598/0.7732, allocations: 370 kB / 0.8368 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.7737, allocations: 115.4 kB / 0.8369 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.7737, allocations: 0 / 0.8369 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of Templates: time 0.04126/0.815, allocations: 23.56 MB / 0.8599 GB, free: 1.742 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)