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.000986/0.0009861, allocations: 91.92 kB / 16.02 MB, free: 80 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.001101/0.001101, allocations: 184.2 kB / 16.92 MB, free: 6.926 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.978/0.978, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 15.94 kB / 0.5082 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1691, allocations: 82.31 MB / 0.5886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.494/0.6632, allocations: 189 MB / 0.7732 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.6735, allocations: 5.145 MB / 0.7782 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.675, allocations: 39.69 kB / 0.7782 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.6769, allocations: 0.7077 MB / 0.7789 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006432/0.6834, allocations: 2.455 MB / 0.7813 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.686, allocations: 1.001 MB / 0.7823 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004105/0.6901, allocations: 3.613 MB / 0.7858 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.6914, allocations: 0.8476 MB / 0.7866 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.6932, allocations: 0.9919 MB / 0.7876 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.6945, allocations: 1.004 MB / 0.7886 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.6946, allocations: 48 kB / 0.7886 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.6983, allocations: 2.069 MB / 0.7907 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004145/0.6987, allocations: 414.5 kB / 0.7911 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006263/0.6993, allocations: 0.6425 MB / 0.7917 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.7012, allocations: 1.532 MB / 0.7932 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7012, allocations: 0 / 0.7932 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7012, allocations: 0 / 0.7932 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.7013, allocations: 0 / 0.7932 GB, free: 10.9 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.004516/0.7058, allocations: 1.702 MB / 0.7948 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.7058, allocations: 8.031 kB / 0.7949 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005459/0.7113, allocations: 0.9346 MB / 0.7958 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.7127, allocations: 0.9058 MB / 0.7966 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.287e-05/0.7128, allocations: 69.98 kB / 0.7967 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.713, allocations: 88 kB / 0.7968 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003513/0.7165, allocations: 1.588 MB / 0.7983 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.7165, allocations: 4 kB / 0.7984 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.7166, allocations: 32 kB / 0.7984 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.732e-05/0.7167, allocations: 49.98 kB / 0.7984 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005064/0.7218, allocations: 1.842 MB / 0.8002 GB, free: 3.531 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.007253/0.729, allocations: 4.752 MB / 0.8049 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004277/0.7333, allocations: 1.599 MB / 0.8064 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002261/0.7356, allocations: 0.8546 MB / 0.8073 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.7369, allocations: 0.953 MB / 0.8082 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002434/0.7393, allocations: 0.9228 MB / 0.8091 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.918e-06/0.7393, allocations: 0 / 0.8091 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007559/0.7469, allocations: 2.439 MB / 0.8115 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.747, allocations: 64.39 kB / 0.8115 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.7484, allocations: 1.201 MB / 0.8127 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.7486, allocations: 41.7 kB / 0.8128 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/0.749, allocations: 0.5409 MB / 0.8133 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.7493, allocations: 323.3 kB / 0.8136 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.7494, allocations: 85.67 kB / 0.8137 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.7496, allocations: 341.9 kB / 0.814 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.7517, allocations: 0.7044 MB / 0.8147 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/0.754, allocations: 0.9113 MB / 0.8156 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00424/0.7582, allocations: 1.546 MB / 0.8171 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7582, allocations: 0 / 0.8171 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00493/0.7632, allocations: 1.776 MB / 0.8188 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.7632, allocations: 4.438 kB / 0.8188 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.7632, allocations: 12 kB / 0.8188 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.7633, allocations: 8 kB / 0.8188 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.765, allocations: 335.5 kB / 0.8192 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.765, allocations: 15.92 kB / 0.8192 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.7668, allocations: 250.7 kB / 0.8194 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.7669, allocations: 47.97 kB / 0.8195 GB, free: 15.22 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.0006393/0.7675, allocations: 344.6 kB / 0.8198 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.7677, allocations: 134.3 kB / 0.8199 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004994/0.7727, allocations: 1.806 MB / 0.8217 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.7728, allocations: 8 kB / 0.8217 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7728, allocations: 0 / 0.8217 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.7728, allocations: 7.969 kB / 0.8217 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006952/0.7797, allocations: 3.331 MB / 0.825 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.7798, allocations: 4 kB / 0.825 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/0.7814, allocations: 292.1 kB / 0.8252 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.7814, allocations: 8 kB / 0.8252 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.73e-05/0.7815, allocations: 31.97 kB / 0.8253 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/0.7815, allocations: 11.94 kB / 0.8253 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.7815, allocations: 8 kB / 0.8253 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007156/0.7887, allocations: 2.835 MB / 0.8281 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005235/0.7892, allocations: 327.2 kB / 0.8284 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.7894, allocations: 23.98 kB / 0.8284 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.7908, allocations: 183.7 kB / 0.8286 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.791, allocations: 72.39 kB / 0.8286 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.79e-05/0.7911, allocations: 43.97 kB / 0.8287 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001005/0.7921, allocations: 0.8314 MB / 0.8295 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7921, allocations: 0 / 0.8295 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001032/0.7932, allocations: 335.7 kB / 0.8298 GB, free: 4.414 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.00127/0.7944, allocations: 0.5229 MB / 0.8303 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004586/0.799, allocations: 1.626 MB / 0.8319 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.7991, allocations: 4.25 kB / 0.8319 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.8013, allocations: 0.832 MB / 0.8327 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/0.8047, allocations: 0.5851 MB / 0.8333 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006212/0.8109, allocations: 3.585 MB / 0.8368 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/0.8116, allocations: 1.183 MB / 0.838 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/0.8122, allocations: 127.4 kB / 0.8381 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of SimCode: time 6.41e-07/0.8122, allocations: 0 / 0.8381 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.03056/0.8428, allocations: 21.37 MB / 0.8589 GB, free: 6.805 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)