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.001373/0.001373, allocations: 105.8 kB / 16.64 MB, free: 6.816 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.001219/0.001219, allocations: 186 kB / 17.57 MB, free: 5.922 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.538/1.538, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7974/0.7974, allocations: 125.4 MB / 416.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 64.08 kB / 0.4943 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.435, allocations: 78.56 MB / 0.571 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.04953/0.4845, allocations: 54.1 MB / 0.6238 GB, free: 1.543 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.5021, allocations: 10.27 MB / 0.6339 GB, free: 7.246 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002907/0.5051, allocations: 67.5 kB / 0.6339 GB, free: 7.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.5078, allocations: 0.7814 MB / 0.6347 GB, free: 6.395 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006088/0.514, allocations: 1.781 MB / 0.6364 GB, free: 4.605 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005904/0.5199, allocations: 1.894 MB / 0.6383 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006438/0.5264, allocations: 3.765 MB / 0.642 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.5291, allocations: 1.169 MB / 0.6431 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005074/0.5342, allocations: 1.879 MB / 0.6449 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.5369, allocations: 1.225 MB / 0.6461 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005408/0.5374, allocations: 115.9 kB / 0.6462 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003856/0.5413, allocations: 1.306 MB / 0.6475 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006486/0.542, allocations: 394.4 kB / 0.6479 GB, free: 8.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.5435, allocations: 0.8547 MB / 0.6487 GB, free: 7.969 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003798/0.5473, allocations: 1.744 MB / 0.6504 GB, free: 6.223 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5473, allocations: 0 / 0.6504 GB, free: 6.223 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5474, allocations: 4 kB / 0.6504 GB, free: 6.219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.5474, allocations: 4 kB / 0.6504 GB, free: 6.215 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004435/0.5518, allocations: 2.122 MB / 0.6525 GB, free: 4.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.5519, allocations: 8.031 kB / 0.6525 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003858/0.5558, allocations: 0.6493 MB / 0.6532 GB, free: 3.367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.5579, allocations: 1.09 MB / 0.6542 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.213e-05/0.558, allocations: 86.14 kB / 0.6543 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.5582, allocations: 115.9 kB / 0.6544 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003305/0.5615, allocations: 1.5 MB / 0.6559 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.5616, allocations: 7.938 kB / 0.6559 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.5617, allocations: 44 kB / 0.6559 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.5617, allocations: 28 kB / 0.6559 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00356/0.5653, allocations: 1.221 MB / 0.6571 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/0.5762, allocations: 8.371 MB / 0.6653 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/0.5797, allocations: 1.093 MB / 0.6664 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.5813, allocations: 0.5648 MB / 0.6669 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002771/0.5841, allocations: 2.89 MB / 0.6698 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001938/0.5861, allocations: 0.68 MB / 0.6704 GB, free: 184 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=85): time 5.049e-06/0.5861, allocations: 0 / 0.6704 GB, free: 184 kB / 0.4981 GB Notification: Performance of matching and sorting (n=85): time 0.005584/0.5917, allocations: 1.783 MB / 0.6722 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.5918, allocations: 72.34 kB / 0.6722 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.594, allocations: 1.489 MB / 0.6737 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-05/0.5941, allocations: 41.7 kB / 0.6737 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007535/0.5949, allocations: 0.7868 MB / 0.6745 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/0.5952, allocations: 295.9 kB / 0.6748 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/0.5956, allocations: 222.7 kB / 0.675 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.5958, allocations: 349.9 kB / 0.6753 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.5974, allocations: 0.5178 MB / 0.6758 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.5994, allocations: 0.8993 MB / 0.6767 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/0.603, allocations: 1.41 MB / 0.6781 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.603, allocations: 4 kB / 0.6781 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004518/0.6075, allocations: 1.604 MB / 0.6797 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.6076, allocations: 9.875 kB / 0.6797 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.6076, allocations: 12 kB / 0.6797 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/0.6077, allocations: 16 kB / 0.6797 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.6091, allocations: 352 kB / 0.68 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.425e-05/0.6092, allocations: 35.75 kB / 0.6801 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.6109, allocations: 262.5 kB / 0.6803 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.6111, allocations: 63.95 kB / 0.6804 GB, free: 5.609 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0006996/0.6118, allocations: 347.6 kB / 0.6807 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.6121, allocations: 169.8 kB / 0.6809 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005178/0.6173, allocations: 2.092 MB / 0.6829 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.322e-05/0.6173, allocations: 15.98 kB / 0.6829 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.6174, allocations: 3.938 kB / 0.6829 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.6174, allocations: 3.984 kB / 0.6829 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006901/0.6243, allocations: 3.298 MB / 0.6862 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.6243, allocations: 0 / 0.6862 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.6255, allocations: 227.8 kB / 0.6864 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.6255, allocations: 4 kB / 0.6864 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.495e-05/0.6256, allocations: 43.95 kB / 0.6864 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.6256, allocations: 8 kB / 0.6864 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.6257, allocations: 7.938 kB / 0.6864 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006513/0.6322, allocations: 2.685 MB / 0.6891 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000838/0.633, allocations: 390.3 kB / 0.6894 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003638/0.6334, allocations: 24 kB / 0.6894 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.6349, allocations: 147.8 kB / 0.6896 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.635, allocations: 80.83 kB / 0.6897 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.6352, allocations: 51.97 kB / 0.6897 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001807/0.637, allocations: 1.01 MB / 0.6907 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.637, allocations: 0 / 0.6907 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001955/0.6389, allocations: 0.5477 MB / 0.6912 GB, free: 10.36 MB / 0.5294 GB 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 (110): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.002489/0.6414, allocations: 0.8316 MB / 0.692 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00502/0.6465, allocations: 1.571 MB / 0.6936 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.6465, allocations: 0 / 0.6936 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.6486, allocations: 0.8105 MB / 0.6944 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/0.652, allocations: 0.727 MB / 0.6951 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006603/0.6586, allocations: 3.776 MB / 0.6988 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.6597, allocations: 1.297 MB / 0.7 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005953/0.6603, allocations: 183.3 kB / 0.7002 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of SimCode: time 7.62e-07/0.6603, allocations: 0 / 0.7002 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of Templates: time 0.04809/0.7084, allocations: 28.71 MB / 0.7282 GB, free: 4.816 MB / 0.5606 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)