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.001294/0.001294, allocations: 101.4 kB / 16.27 MB, free: 6.402 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.00137/0.00137, allocations: 186.8 kB / 17.2 MB, free: 5.938 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.233/1.233, allocations: 222.9 MB / 240.9 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7186/0.7186, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3061, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02403/0.3302, allocations: 29.32 MB / 0.5959 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009314/0.3395, allocations: 6.873 MB / 0.6026 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.3412, allocations: 46.88 kB / 0.6027 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.3427, allocations: 0.6935 MB / 0.6033 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.3461, allocations: 1.453 MB / 0.6048 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.3486, allocations: 1.155 MB / 0.6059 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002534/0.3511, allocations: 2.467 MB / 0.6083 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008647/0.352, allocations: 0.7926 MB / 0.6091 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.3538, allocations: 1.008 MB / 0.6101 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00098/0.3548, allocations: 0.8092 MB / 0.6109 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.3549, allocations: 68 kB / 0.6109 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.3567, allocations: 0.8148 MB / 0.6117 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.357, allocations: 278.9 kB / 0.612 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005466/0.3575, allocations: 0.5515 MB / 0.6125 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.36, allocations: 1.596 MB / 0.6141 GB, free: 10.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.36, allocations: 4 kB / 0.6141 GB, free: 10.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.36, allocations: 0 / 0.6141 GB, free: 10.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.36, allocations: 0 / 0.6141 GB, free: 10.82 MB / 462.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.002651/0.3627, allocations: 1.562 MB / 0.6156 GB, free: 9.199 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3628, allocations: 8.625 kB / 0.6156 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.3629, allocations: 118.7 kB / 0.6157 GB, free: 9.066 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.3662, allocations: 0.5807 MB / 0.6163 GB, free: 8.484 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.3674, allocations: 0.8056 MB / 0.6171 GB, free: 7.625 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.3675, allocations: 66.12 kB / 0.6171 GB, free: 7.559 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.3676, allocations: 72 kB / 0.6172 GB, free: 7.488 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.3699, allocations: 1.096 MB / 0.6183 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3699, allocations: 4 kB / 0.6183 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.398e-05/0.37, allocations: 40 kB / 0.6183 GB, free: 6.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.37, allocations: 19.94 kB / 0.6183 GB, free: 6.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.3729, allocations: 1 MB / 0.6193 GB, free: 5.25 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.005303/0.3782, allocations: 4.964 MB / 0.6242 GB, free: 0 / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.3811, allocations: 0.9028 MB / 0.6251 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.3825, allocations: 496.3 kB / 0.6255 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.3838, allocations: 1.596 MB / 0.6271 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/0.3853, allocations: 0.569 MB / 0.6276 GB, free: 12.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.685e-06/0.3854, allocations: 0 / 0.6276 GB, free: 12.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.00451/0.3899, allocations: 1.485 MB / 0.6291 GB, free: 10.58 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.3899, allocations: 63.97 kB / 0.6291 GB, free: 10.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.3911, allocations: 1.112 MB / 0.6302 GB, free: 9.379 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.474e-05/0.3912, allocations: 41.69 kB / 0.6303 GB, free: 9.332 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.3916, allocations: 0.5434 MB / 0.6308 GB, free: 8.781 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.3918, allocations: 209.1 kB / 0.631 GB, free: 8.574 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.392, allocations: 162.5 kB / 0.6312 GB, free: 8.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3921, allocations: 337.9 kB / 0.6315 GB, free: 8.074 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.3935, allocations: 445.6 kB / 0.6319 GB, free: 7.641 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.3951, allocations: 0.7242 MB / 0.6326 GB, free: 6.801 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002858/0.398, allocations: 1.117 MB / 0.6337 GB, free: 5.582 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.398, allocations: 0 / 0.6337 GB, free: 5.582 MB / 478.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003385/0.4014, allocations: 1.278 MB / 0.635 GB, free: 4.293 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.4014, allocations: 8.125 kB / 0.635 GB, free: 4.285 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.4014, allocations: 12 kB / 0.635 GB, free: 4.273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.4015, allocations: 15.98 kB / 0.635 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4026, allocations: 259.6 kB / 0.6352 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.4026, allocations: 19.92 kB / 0.6353 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.4037, allocations: 182.9 kB / 0.6354 GB, free: 3.805 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.212e-05/0.4038, allocations: 43.97 kB / 0.6355 GB, free: 3.762 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.0004229/0.4042, allocations: 291.8 kB / 0.6357 GB, free: 3.469 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.4044, allocations: 126.4 kB / 0.6359 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/0.408, allocations: 1.364 MB / 0.6372 GB, free: 1.973 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.4081, allocations: 12 kB / 0.6372 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4081, allocations: 0 / 0.6372 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.4081, allocations: 3.984 kB / 0.6372 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004659/0.4127, allocations: 2.374 MB / 0.6395 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4128, allocations: 0 / 0.6395 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009808/0.4138, allocations: 187.9 kB / 0.6397 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.4138, allocations: 4 kB / 0.6397 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/0.4138, allocations: 27.97 kB / 0.6397 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/0.4139, allocations: 15.92 kB / 0.6398 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.4139, allocations: 11.88 kB / 0.6398 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004791/0.4187, allocations: 1.962 MB / 0.6417 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.4191, allocations: 275.3 kB / 0.6419 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.4192, allocations: 20 kB / 0.642 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008644/0.4201, allocations: 103.9 kB / 0.6421 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.4202, allocations: 56.38 kB / 0.6421 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/0.4203, allocations: 31.97 kB / 0.6422 GB, free: 12.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000847/0.4211, allocations: 0.7677 MB / 0.6429 GB, free: 12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4211, allocations: 4 kB / 0.6429 GB, free: 12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009725/0.4221, allocations: 347.5 kB / 0.6432 GB, free: 11.66 MB / 494.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.00625/0.4284, allocations: 3.068 MB / 0.6462 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003451/0.4318, allocations: 1.185 MB / 0.6474 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.4319, allocations: 4 kB / 0.6474 GB, free: 7.559 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.4334, allocations: 0.5775 MB / 0.648 GB, free: 6.984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.4354, allocations: 457.8 kB / 0.6484 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/0.4523, allocations: 10.2 MB / 0.6584 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.453, allocations: 1.104 MB / 0.6594 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009886/0.454, allocations: 248.6 kB / 0.6597 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/0.4546, allocations: 459.2 kB / 0.6601 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of SimCode: time 2.234e-06/0.4546, allocations: 4 kB / 0.6601 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.5/1.954, allocations: 30.31 MB / 0.6897 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.789/10.74, allocations: 2.5 kB / 0.6897 GB, free: 11.98 MB / 0.5294 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)