Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5288/0.5288, allocations: 90.91 MB / 99.35 MB, free: 2.156 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.5 MB / 343.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001202, allocations: 95.27 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.72e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1694, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.16/5.329, allocations: 1.827 GB / 2.38 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/5.33, allocations: 86.95 kB / 2.38 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.621/8.951, allocations: 1.006 GB / 3.387 GB, free: 39.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.372e-06/8.951, allocations: 0 / 3.387 GB, free: 39.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001373/8.951, allocations: 39.98 kB / 3.387 GB, free: 39.56 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006881/8.958, allocations: 1.828 MB / 3.389 GB, free: 37.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/8.958, allocations: 8.031 kB / 3.389 GB, free: 37.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/8.962, allocations: 0.6928 MB / 3.389 GB, free: 36.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/8.965, allocations: 1.055 MB / 3.39 GB, free: 35.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/8.965, allocations: 28 kB / 3.39 GB, free: 35.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/8.965, allocations: 52 kB / 3.39 GB, free: 35.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001456/8.967, allocations: 0.8669 MB / 3.391 GB, free: 34.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/8.968, allocations: 1.141 MB / 3.392 GB, free: 33.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/8.968, allocations: 0 / 3.392 GB, free: 33.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/8.969, allocations: 11.98 kB / 3.392 GB, free: 33.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/8.969, allocations: 41.97 kB / 3.392 GB, free: 33.68 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.006571/8.975, allocations: 5.096 MB / 3.397 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/8.976, allocations: 0.8773 MB / 3.398 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/8.977, allocations: 477.7 kB / 3.399 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000986/8.978, allocations: 0.9417 MB / 3.4 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007214/8.979, allocations: 0.5938 MB / 3.4 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 3.617e-06/8.979, allocations: 0 / 3.4 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.0025/8.981, allocations: 1.123 MB / 3.401 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/8.981, allocations: 60.19 kB / 3.401 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/8.982, allocations: 0.8432 MB / 3.402 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/8.982, allocations: 29.7 kB / 3.402 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/8.983, allocations: 0.5857 MB / 3.403 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/8.983, allocations: 268 kB / 3.403 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/8.983, allocations: 0 / 3.403 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.489e-05/8.983, allocations: 349.9 kB / 3.403 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/8.984, allocations: 410.4 kB / 3.404 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006314/8.984, allocations: 0.6936 MB / 3.404 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/8.985, allocations: 456.2 kB / 3.405 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/8.985, allocations: 0 / 3.405 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001705/8.987, allocations: 1.167 MB / 3.406 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/8.987, allocations: 8.938 kB / 3.406 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/8.987, allocations: 8 kB / 3.406 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/8.987, allocations: 12 kB / 3.406 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/8.988, allocations: 311.5 kB / 3.406 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/8.988, allocations: 15.94 kB / 3.406 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/8.99, allocations: 191 kB / 3.406 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/8.99, allocations: 59.95 kB / 3.407 GB, free: 18.51 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0002326/8.99, allocations: 134.9 kB / 3.407 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001456/8.992, allocations: 1.018 MB / 3.408 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/8.992, allocations: 118.5 kB / 3.408 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/8.994, allocations: 1.176 MB / 3.409 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/8.994, allocations: 8 kB / 3.409 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/8.994, allocations: 0 / 3.409 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/8.994, allocations: 3.984 kB / 3.409 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003825/8.997, allocations: 2.599 MB / 3.411 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/8.997, allocations: 4.5 kB / 3.411 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/8.999, allocations: 259.6 kB / 3.412 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/8.999, allocations: 8 kB / 3.412 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/8.999, allocations: 23.95 kB / 3.412 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/8.999, allocations: 8 kB / 3.412 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/8.999, allocations: 7.938 kB / 3.412 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/9.001, allocations: 2.122 MB / 3.414 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/9.002, allocations: 335.2 kB / 3.414 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/9.002, allocations: 11.92 kB / 3.414 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/9.003, allocations: 127.9 kB / 3.414 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/9.003, allocations: 68.59 kB / 3.414 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/9.003, allocations: 43.95 kB / 3.414 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000679/9.004, allocations: 0.6364 MB / 3.415 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/9.004, allocations: 0 / 3.415 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001355/9.006, allocations: 459.2 kB / 3.415 GB, free: 9.074 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.004863/9.01, allocations: 5.807 MB / 3.421 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001338/9.012, allocations: 0.9965 MB / 3.422 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/9.012, allocations: 1.875 kB / 3.422 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006236/9.012, allocations: 0.515 MB / 3.423 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/9.014, allocations: 414.2 kB / 3.423 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3412/9.356, allocations: 2.23 MB / 3.425 GB, free: 108.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/9.357, allocations: 1.207 MB / 3.426 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0019/9.359, allocations: 348.3 kB / 3.427 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008807/9.36, allocations: 0.5014 MB / 3.427 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/9.36, allocations: 0.5938 kB / 3.427 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08204/9.442, allocations: 40.63 MB / 3.467 GB, free: 107.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/9.442, allocations: 179 kB / 3.467 GB, free: 107.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/12.68, allocations: 0 / 3.467 GB, free: 107.4 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)