Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001044/0.001044, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 197 kB / 16.53 MB, free: 6.664 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7508/0.7508, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 68.02 kB / 0.5018 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4123, allocations: 80.2 MB / 0.5801 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2205/0.6328, allocations: 193.8 MB / 0.7694 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009753/0.6426, allocations: 5.145 MB / 0.7744 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.6445, allocations: 47.69 kB / 0.7744 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.6467, allocations: 0.8003 MB / 0.7752 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007219/0.6539, allocations: 2.605 MB / 0.7778 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.657, allocations: 1.116 MB / 0.7789 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003555/0.6606, allocations: 2.672 MB / 0.7815 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.6621, allocations: 0.9484 MB / 0.7824 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.6643, allocations: 1.098 MB / 0.7835 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.6656, allocations: 0.9924 MB / 0.7844 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.6657, allocations: 88 kB / 0.7845 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.6693, allocations: 1.785 MB / 0.7863 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004636/0.6698, allocations: 450.5 kB / 0.7867 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007927/0.6706, allocations: 0.6643 MB / 0.7873 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003641/0.6742, allocations: 2.204 MB / 0.7895 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6742, allocations: 0 / 0.7895 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6743, allocations: 0 / 0.7895 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.6743, allocations: 0 / 0.7895 GB, free: 10.54 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00498/0.6793, allocations: 1.953 MB / 0.7914 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.6793, allocations: 12.03 kB / 0.7914 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005512/0.6848, allocations: 0.8955 MB / 0.7923 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.6865, allocations: 0.9059 MB / 0.7932 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.6866, allocations: 66 kB / 0.7932 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.6868, allocations: 95.97 kB / 0.7933 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/0.6905, allocations: 1.571 MB / 0.7949 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.6905, allocations: 8 kB / 0.7949 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.6906, allocations: 43.97 kB / 0.7949 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/0.6907, allocations: 45.98 kB / 0.7949 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005119/0.6958, allocations: 1.846 MB / 0.7967 GB, free: 2.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.007606/0.7035, allocations: 4.749 MB / 0.8014 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004391/0.7079, allocations: 1.575 MB / 0.8029 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002323/0.7102, allocations: 0.8546 MB / 0.8038 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.7115, allocations: 0.9413 MB / 0.8047 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002443/0.714, allocations: 0.9105 MB / 0.8056 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 4.077e-06/0.714, allocations: 0 / 0.8056 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.007912/0.7219, allocations: 2.454 MB / 0.808 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.722, allocations: 68.41 kB / 0.808 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.7236, allocations: 1.197 MB / 0.8092 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.7237, allocations: 41.7 kB / 0.8092 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/0.7242, allocations: 0.5486 MB / 0.8098 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004041/0.7246, allocations: 319.4 kB / 0.8101 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/0.725, allocations: 194.5 kB / 0.8103 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7251, allocations: 341.9 kB / 0.8106 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.7273, allocations: 0.7006 MB / 0.8113 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.7296, allocations: 0.9151 MB / 0.8122 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004288/0.7339, allocations: 1.554 MB / 0.8137 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.7339, allocations: 0 / 0.8137 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.3403/1.074, allocations: 1.775 MB / 0.8154 GB, free: 220 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/1.074, allocations: 7.406 kB / 0.8154 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/1.074, allocations: 4.219 kB / 0.8154 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/1.074, allocations: 8.844 kB / 0.8154 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/1.076, allocations: 341.8 kB / 0.8158 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/1.076, allocations: 15.42 kB / 0.8158 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/1.078, allocations: 232.7 kB / 0.816 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/1.078, allocations: 47.84 kB / 0.816 GB, free: 220 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.0006036/1.079, allocations: 336.9 kB / 0.8164 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/1.079, allocations: 133.3 kB / 0.8165 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005456/1.084, allocations: 1.803 MB / 0.8183 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/1.084, allocations: 9.781 kB / 0.8183 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.085, allocations: 4.062 kB / 0.8183 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/1.085, allocations: 6.969 kB / 0.8183 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008026/1.093, allocations: 3.334 MB / 0.8215 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.093, allocations: 3.875 kB / 0.8215 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/1.094, allocations: 290.3 kB / 0.8218 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/1.094, allocations: 7.625 kB / 0.8218 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.515e-05/1.094, allocations: 32.58 kB / 0.8219 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.438e-05/1.094, allocations: 13.12 kB / 0.8219 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.094, allocations: 3.781 kB / 0.8219 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007348/1.102, allocations: 2.844 MB / 0.8246 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006173/1.102, allocations: 321.5 kB / 0.825 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/1.103, allocations: 29.41 kB / 0.825 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.104, allocations: 156 kB / 0.8251 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/1.104, allocations: 69.62 kB / 0.8252 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.729e-05/1.104, allocations: 45.17 kB / 0.8252 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009638/1.105, allocations: 0.8362 MB / 0.8261 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.51e-07/1.105, allocations: 0 / 0.8261 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001047/1.106, allocations: 341.7 kB / 0.8264 GB, free: 216.8 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.00116/1.107, allocations: 0.531 MB / 0.8269 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00514/1.113, allocations: 1.783 MB / 0.8286 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.113, allocations: 0 / 0.8286 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002318/1.115, allocations: 0.8413 MB / 0.8295 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/1.118, allocations: 0.6118 MB / 0.8301 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/1.123, allocations: 3.009 MB / 0.833 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/1.124, allocations: 1.187 MB / 0.8342 GB, free: 213 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001588/1.126, allocations: 364.9 kB / 0.8345 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/1.126, allocations: 120.4 kB / 0.8346 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of SimCode: time 7.11e-07/1.126, allocations: 0 / 0.8346 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.03513/1.161, allocations: 23.76 MB / 0.8578 GB, free: 194.7 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)