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.001142/0.001142, allocations: 96.97 kB / 15.69 MB, free: 488 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.00127/0.001271, allocations: 176.9 kB / 16.57 MB, free: 6.391 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.289/1.289, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6663/0.6663, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 12 kB / 493.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1535, allocations: 77.14 MB / 0.5568 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02561/0.1792, allocations: 24.54 MB / 0.5808 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3024/0.4816, allocations: 5.939 MB / 0.5866 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.4828, allocations: 40.47 kB / 0.5866 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.4846, allocations: 0.6427 MB / 0.5873 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.4882, allocations: 1.206 MB / 0.5884 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.4916, allocations: 1.307 MB / 0.5897 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003123/0.4948, allocations: 1.581 MB / 0.5913 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.4961, allocations: 0.6694 MB / 0.5919 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.4981, allocations: 0.8356 MB / 0.5927 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.4991, allocations: 0.5672 MB / 0.5933 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.4993, allocations: 36.16 kB / 0.5933 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.5011, allocations: 0.5267 MB / 0.5938 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.5014, allocations: 235.2 kB / 0.5941 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.5018, allocations: 234.1 kB / 0.5943 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.5033, allocations: 1.012 MB / 0.5953 GB, free: 11.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.5033, allocations: 0 / 0.5953 GB, free: 11.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5033, allocations: 1.266 kB / 0.5953 GB, free: 11.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.5033, allocations: 0 / 0.5953 GB, free: 11.31 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.002602/0.5059, allocations: 1.374 MB / 0.5966 GB, free: 26.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.506, allocations: 9.656 kB / 0.5966 GB, free: 26.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/0.5096, allocations: 0.6302 MB / 0.5972 GB, free: 26.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.5112, allocations: 0.7697 MB / 0.598 GB, free: 26.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.5112, allocations: 56.3 kB / 0.598 GB, free: 26.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.5114, allocations: 77.09 kB / 0.5981 GB, free: 26.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.5138, allocations: 1.096 MB / 0.5992 GB, free: 25.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.5139, allocations: 9.031 kB / 0.5992 GB, free: 25.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.514, allocations: 30.7 kB / 0.5992 GB, free: 25.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.514, allocations: 17.91 kB / 0.5992 GB, free: 25.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003329/0.5173, allocations: 1.02 MB / 0.6002 GB, free: 25.75 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.006522/0.5239, allocations: 4.972 MB / 0.6051 GB, free: 22.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/0.5267, allocations: 0.9529 MB / 0.606 GB, free: 22.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/0.5279, allocations: 1.598 MB / 0.6076 GB, free: 20.78 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001748/0.5297, allocations: 0.5851 MB / 0.6082 GB, free: 20.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 3.567e-06/0.5297, allocations: 0 / 0.6082 GB, free: 20.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.004832/0.5345, allocations: 1.512 MB / 0.6096 GB, free: 20.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.5346, allocations: 57.84 kB / 0.6097 GB, free: 20.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.5362, allocations: 1.111 MB / 0.6108 GB, free: 20.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.5364, allocations: 44.19 kB / 0.6108 GB, free: 20.32 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.5368, allocations: 0.5354 MB / 0.6113 GB, free: 20.13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.537, allocations: 216.2 kB / 0.6115 GB, free: 20 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.537, allocations: 16.78 kB / 0.6116 GB, free: 20 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5372, allocations: 337.6 kB / 0.6119 GB, free: 19.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.5386, allocations: 459.8 kB / 0.6123 GB, free: 19.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.5402, allocations: 0.7239 MB / 0.613 GB, free: 19.37 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.5416, allocations: 496.9 kB / 0.6135 GB, free: 19.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.5416, allocations: 2.719 kB / 0.6135 GB, free: 19.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003638/0.5453, allocations: 1.285 MB / 0.6148 GB, free: 18.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.5453, allocations: 12.38 kB / 0.6148 GB, free: 18.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.5453, allocations: 8.062 kB / 0.6148 GB, free: 18.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.5454, allocations: 16.34 kB / 0.6148 GB, free: 18.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.5466, allocations: 280.6 kB / 0.6151 GB, free: 18.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.5466, allocations: 15.45 kB / 0.6151 GB, free: 18.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.548, allocations: 208.1 kB / 0.6153 GB, free: 18.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.5482, allocations: 49.53 kB / 0.6153 GB, free: 18.81 MB / 462.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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005548/0.5487, allocations: 302.2 kB / 0.6156 GB, free: 18.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.5489, allocations: 117.3 kB / 0.6157 GB, free: 18.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/0.5524, allocations: 1.382 MB / 0.6171 GB, free: 18.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.5525, allocations: 14.95 kB / 0.6171 GB, free: 18.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5525, allocations: 0 / 0.6171 GB, free: 18.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5525, allocations: 3.984 kB / 0.6171 GB, free: 18.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004771/0.5573, allocations: 2.383 MB / 0.6194 GB, free: 17.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.5573, allocations: 2.094 kB / 0.6194 GB, free: 17.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009875/0.5583, allocations: 200.8 kB / 0.6196 GB, free: 17.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.5583, allocations: 9.328 kB / 0.6196 GB, free: 17.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/0.5584, allocations: 28.06 kB / 0.6196 GB, free: 17.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.5584, allocations: 3.281 kB / 0.6196 GB, free: 17.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5584, allocations: 3.25 kB / 0.6196 GB, free: 17.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004606/0.563, allocations: 2.082 MB / 0.6217 GB, free: 16.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005342/0.5636, allocations: 287.2 kB / 0.622 GB, free: 16.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.5637, allocations: 14.16 kB / 0.622 GB, free: 16.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/0.5647, allocations: 128.2 kB / 0.6221 GB, free: 16.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.5648, allocations: 49.56 kB / 0.6221 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.955e-05/0.5649, allocations: 32.62 kB / 0.6222 GB, free: 15.97 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008482/0.5657, allocations: 0.7591 MB / 0.6229 GB, free: 15.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5657, allocations: 4 kB / 0.6229 GB, free: 15.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001222/0.5669, allocations: 343.5 kB / 0.6232 GB, free: 15.48 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/0.5683, allocations: 0.6482 MB / 0.6239 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003037/0.5714, allocations: 1.122 MB / 0.625 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5714, allocations: 0 / 0.625 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.5728, allocations: 0.5854 MB / 0.6255 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.5748, allocations: 425 kB / 0.6259 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.5791, allocations: 2.7 MB / 0.6286 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/0.5799, allocations: 1.132 MB / 0.6297 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001106/0.581, allocations: 244.7 kB / 0.6299 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.5813, allocations: 107.4 kB / 0.63 GB, free: 11.05 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5813, allocations: 0 / 0.63 GB, free: 11.05 MB / 462.1 MB Notification: Performance of Templates: time 0.03178/0.6131, allocations: 18.43 MB / 0.648 GB, free: 8.941 MB / 478.1 MB 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)