Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 109.4 kB / 17.03 MB, free: 6.094 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.0009996/0.0009997, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.264/1.264, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.692/0.692, allocations: 115.1 MB / 406.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 75.88 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3471, allocations: 76.14 MB / 0.5576 GB, free: 36.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02347/0.3706, allocations: 29.32 MB / 0.5862 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008996/0.3797, allocations: 6.868 MB / 0.5929 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.3809, allocations: 51 kB / 0.5929 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.3824, allocations: 0.6867 MB / 0.5936 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003187/0.3856, allocations: 1.449 MB / 0.595 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.3882, allocations: 1.161 MB / 0.5962 GB, free: 8.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002763/0.391, allocations: 2.469 MB / 0.5986 GB, free: 7.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009874/0.392, allocations: 0.7974 MB / 0.5994 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.3935, allocations: 1.008 MB / 0.6003 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00088/0.3944, allocations: 0.8235 MB / 0.6011 GB, free: 5.832 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3945, allocations: 66.72 kB / 0.6012 GB, free: 5.832 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.3962, allocations: 0.8159 MB / 0.602 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.3964, allocations: 276.9 kB / 0.6023 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.3968, allocations: 0.5541 MB / 0.6028 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.3987, allocations: 1.63 MB / 0.6044 GB, free: 3.797 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3987, allocations: 0 / 0.6044 GB, free: 3.797 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3987, allocations: 0 / 0.6044 GB, free: 3.797 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.3987, allocations: 0 / 0.6044 GB, free: 3.797 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002358/0.4011, allocations: 1.571 MB / 0.6059 GB, free: 2.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4012, allocations: 9.094 kB / 0.6059 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.4044, allocations: 0.5868 MB / 0.6065 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.4057, allocations: 0.8737 MB / 0.6074 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.4058, allocations: 62.31 kB / 0.6074 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.4059, allocations: 71.94 kB / 0.6075 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.4078, allocations: 1.103 MB / 0.6086 GB, free: 68 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.4078, allocations: 3.938 kB / 0.6086 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.335e-05/0.4079, allocations: 28 kB / 0.6086 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.4079, allocations: 20 kB / 0.6086 GB, free: 16 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.4107, allocations: 1 MB / 0.6096 GB, free: 15.01 MB / 462.1 MB 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.005482/0.4162, allocations: 4.945 MB / 0.6144 GB, free: 9.785 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.4189, allocations: 0.9037 MB / 0.6153 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.4202, allocations: 490.2 kB / 0.6158 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.4215, allocations: 1.592 MB / 0.6173 GB, free: 6.449 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/0.423, allocations: 0.5728 MB / 0.6179 GB, free: 5.867 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 2.594e-06/0.423, allocations: 0 / 0.6179 GB, free: 5.867 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.004377/0.4274, allocations: 1.489 MB / 0.6194 GB, free: 4.371 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.4275, allocations: 55.97 kB / 0.6194 GB, free: 4.305 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.4287, allocations: 1.112 MB / 0.6205 GB, free: 3.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-05/0.4288, allocations: 41.7 kB / 0.6205 GB, free: 3.133 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/0.4292, allocations: 0.5472 MB / 0.6211 GB, free: 2.578 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.4294, allocations: 217 kB / 0.6213 GB, free: 2.363 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.4297, allocations: 162.5 kB / 0.6214 GB, free: 2.199 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4298, allocations: 337.9 kB / 0.6218 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.4311, allocations: 449.6 kB / 0.6222 GB, free: 1.426 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.4326, allocations: 0.717 MB / 0.6229 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/0.4354, allocations: 1.128 MB / 0.624 GB, free: 15.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.4354, allocations: 4 kB / 0.624 GB, free: 15.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003197/0.4386, allocations: 1.274 MB / 0.6252 GB, free: 14.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4386, allocations: 8 kB / 0.6252 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.4386, allocations: 8 kB / 0.6252 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.4387, allocations: 12 kB / 0.6253 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.4398, allocations: 272.1 kB / 0.6255 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.4398, allocations: 15.94 kB / 0.6255 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.441, allocations: 175 kB / 0.6257 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/0.4411, allocations: 51.97 kB / 0.6257 GB, free: 13.54 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004282/0.4415, allocations: 291.7 kB / 0.626 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.4417, allocations: 122.4 kB / 0.6261 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/0.445, allocations: 1.354 MB / 0.6275 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.4451, allocations: 11.98 kB / 0.6275 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4451, allocations: 0 / 0.6275 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.4451, allocations: 3.984 kB / 0.6275 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004683/0.4498, allocations: 2.37 MB / 0.6298 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.4498, allocations: 0 / 0.6298 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/0.4508, allocations: 187.9 kB / 0.63 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.4508, allocations: 4 kB / 0.63 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.039e-05/0.4509, allocations: 23.97 kB / 0.63 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.4509, allocations: 4 kB / 0.63 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4509, allocations: 8 kB / 0.63 GB, free: 9.086 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/0.4555, allocations: 1.977 MB / 0.6319 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.456, allocations: 275.3 kB / 0.6322 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.4562, allocations: 19.98 kB / 0.6322 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008724/0.457, allocations: 103.9 kB / 0.6323 GB, free: 6.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.4572, allocations: 56.44 kB / 0.6324 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/0.4573, allocations: 31.97 kB / 0.6324 GB, free: 6.574 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008758/0.4581, allocations: 0.7677 MB / 0.6332 GB, free: 5.801 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4581, allocations: 4 kB / 0.6332 GB, free: 5.797 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001033/0.4592, allocations: 343.6 kB / 0.6335 GB, free: 5.461 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001397/0.4606, allocations: 0.6656 MB / 0.6341 GB, free: 4.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003005/0.4636, allocations: 1.107 MB / 0.6352 GB, free: 3.879 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4636, allocations: 0 / 0.6352 GB, free: 3.879 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.4651, allocations: 0.5736 MB / 0.6358 GB, free: 3.301 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.4669, allocations: 460.1 kB / 0.6362 GB, free: 2.859 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.4713, allocations: 2.334 MB / 0.6385 GB, free: 492 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.4719, allocations: 1.108 MB / 0.6396 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007683/0.4727, allocations: 244.7 kB / 0.6398 GB, free: 15.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.473, allocations: 107.4 kB / 0.6399 GB, free: 15 MB / 494.1 MB Notification: Performance of SimCode: time 2.695e-06/0.473, allocations: 0 / 0.6399 GB, free: 15 MB / 494.1 MB Notification: Performance of Templates: time 0.03154/0.5045, allocations: 19.88 MB / 0.6593 GB, free: 11.36 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)