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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009714/0.009714, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.002184/0.002184, allocations: 194.5 kB / 16.79 MB, free: 6.246 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.446/1.446, allocations: 222.9 MB / 240.5 MB, free: 13.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7002/0.7002, allocations: 115.3 MB / 405.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 64.12 kB / 493 MB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3842, allocations: 76.18 MB / 0.5558 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02434/0.4085, allocations: 29.16 MB / 0.5843 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009698/0.4183, allocations: 6.9 MB / 0.591 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.4201, allocations: 43.75 kB / 0.5911 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.4219, allocations: 0.5941 MB / 0.5917 GB, free: 9.809 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00424/0.4262, allocations: 1.354 MB / 0.593 GB, free: 9.074 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.4292, allocations: 1.042 MB / 0.594 GB, free: 8.523 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003842/0.433, allocations: 3.22 MB / 0.5971 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.4342, allocations: 0.7314 MB / 0.5979 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.4366, allocations: 0.9324 MB / 0.5988 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.438, allocations: 0.832 MB / 0.5996 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.4382, allocations: 42.34 kB / 0.5996 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.441, allocations: 0.7632 MB / 0.6004 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.4414, allocations: 257.1 kB / 0.6006 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000733/0.4421, allocations: 0.5353 MB / 0.6011 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.4448, allocations: 1.563 MB / 0.6027 GB, free: 3.668 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.4449, allocations: 1.312 kB / 0.6027 GB, free: 3.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4449, allocations: 0 / 0.6027 GB, free: 3.668 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.4449, allocations: 4 kB / 0.6027 GB, free: 3.664 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.002908/0.4478, allocations: 1.565 MB / 0.6042 GB, free: 2.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.4479, allocations: 13.44 kB / 0.6042 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.448, allocations: 114.5 kB / 0.6043 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/0.4515, allocations: 0.5909 MB / 0.6049 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.4529, allocations: 0.8125 MB / 0.6057 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.4529, allocations: 59.81 kB / 0.6057 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.4531, allocations: 80.48 kB / 0.6058 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.4552, allocations: 1.092 MB / 0.6069 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.4553, allocations: 3.938 kB / 0.6069 GB, free: 164 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.4553, allocations: 28 kB / 0.6069 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.4554, allocations: 20 kB / 0.6069 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.4583, allocations: 0.9962 MB / 0.6079 GB, free: 15.11 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.006337/0.4647, allocations: 4.961 MB / 0.6128 GB, free: 9.863 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.4677, allocations: 0.9012 MB / 0.6136 GB, free: 8.957 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.4691, allocations: 494.1 kB / 0.6141 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/0.471, allocations: 1.596 MB / 0.6157 GB, free: 6.523 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/0.4728, allocations: 0.569 MB / 0.6162 GB, free: 5.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 2.865e-06/0.4728, allocations: 4 kB / 0.6162 GB, free: 5.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.004711/0.4775, allocations: 1.477 MB / 0.6177 GB, free: 4.453 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.4776, allocations: 59.91 kB / 0.6177 GB, free: 4.383 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.4789, allocations: 1.116 MB / 0.6188 GB, free: 3.254 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.243e-05/0.479, allocations: 41.7 kB / 0.6188 GB, free: 3.207 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006045/0.4796, allocations: 0.5511 MB / 0.6194 GB, free: 2.648 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.4799, allocations: 205.1 kB / 0.6196 GB, free: 2.445 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.4801, allocations: 166.5 kB / 0.6197 GB, free: 2.277 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4803, allocations: 333.9 kB / 0.6201 GB, free: 1.945 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.4818, allocations: 445.6 kB / 0.6205 GB, free: 1.508 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.4835, allocations: 0.7248 MB / 0.6212 GB, free: 0.668 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/0.4864, allocations: 1.113 MB / 0.6223 GB, free: 15.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4864, allocations: 4 kB / 0.6223 GB, free: 15.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003537/0.49, allocations: 1.278 MB / 0.6235 GB, free: 14.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.49, allocations: 11.98 kB / 0.6235 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.49, allocations: 8 kB / 0.6236 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.4901, allocations: 12 kB / 0.6236 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.4913, allocations: 268 kB / 0.6238 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/0.4913, allocations: 23.92 kB / 0.6238 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4927, allocations: 194.9 kB / 0.624 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.4929, allocations: 47.98 kB / 0.6241 GB, free: 13.61 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.0005674/0.4934, allocations: 291.7 kB / 0.6244 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.4937, allocations: 122.4 kB / 0.6245 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/0.4975, allocations: 1.367 MB / 0.6258 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.4975, allocations: 8 kB / 0.6258 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4976, allocations: 0 / 0.6258 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.4976, allocations: 3.984 kB / 0.6258 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005141/0.5027, allocations: 2.362 MB / 0.6281 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.5028, allocations: 8.188 kB / 0.6281 GB, free: 9.371 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.5038, allocations: 187.7 kB / 0.6283 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.5038, allocations: 4 kB / 0.6283 GB, free: 9.184 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.5039, allocations: 27.97 kB / 0.6283 GB, free: 9.156 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.5039, allocations: 4 kB / 0.6283 GB, free: 9.152 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5039, allocations: 3.938 kB / 0.6283 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005099/0.509, allocations: 1.973 MB / 0.6303 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006118/0.5097, allocations: 287.2 kB / 0.6305 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.5098, allocations: 12 kB / 0.6306 GB, free: 6.824 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009837/0.5108, allocations: 123.9 kB / 0.6307 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.5109, allocations: 52.36 kB / 0.6307 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.801e-05/0.511, allocations: 35.97 kB / 0.6308 GB, free: 6.617 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.512, allocations: 0.7716 MB / 0.6315 GB, free: 5.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.512, allocations: 0 / 0.6315 GB, free: 5.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001222/0.5133, allocations: 339.6 kB / 0.6318 GB, free: 5.508 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.006987/0.5203, allocations: 3.08 MB / 0.6348 GB, free: 2.582 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.5239, allocations: 1.11 MB / 0.6359 GB, free: 1.469 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/0.5239, allocations: 0 / 0.6359 GB, free: 1.469 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.5256, allocations: 0.5813 MB / 0.6365 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/0.5281, allocations: 421.3 kB / 0.6369 GB, free: 488 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/0.5495, allocations: 10.53 MB / 0.6472 GB, free: 5.375 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009115/0.5504, allocations: 1.1 MB / 0.6483 GB, free: 4.246 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001295/0.5518, allocations: 248.6 kB / 0.6485 GB, free: 4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008491/0.5526, allocations: 463.2 kB / 0.6489 GB, free: 3.547 MB / 494.1 MB Notification: Performance of SimCode: time 1.833e-06/0.5526, allocations: 0 / 0.6489 GB, free: 3.547 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05743/0.6101, allocations: 29.35 MB / 0.6776 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003599/0.6105, allocations: 247.4 kB / 0.6778 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/3.293, allocations: 3.938 kB / 0.6778 GB, free: 6.305 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)