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.00133/0.00133, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5116/0.5116, allocations: 91.98 MB / 108.5 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.681/1.681, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 104.2 kB / 427.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.000431, allocations: 8 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1916, allocations: 72.31 MB / 0.5689 GB, free: 1.816 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.221/5.412, allocations: 1.827 GB / 2.396 GB, free: 27.29 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/5.413, allocations: 87.95 kB / 2.396 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.659/10.07, allocations: 1.019 GB / 3.415 GB, free: 87.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.527e-06/10.07, allocations: 0 / 3.415 GB, free: 87.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003319/10.07, allocations: 43.94 kB / 3.415 GB, free: 87.33 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.009911/10.08, allocations: 2.038 MB / 3.417 GB, free: 86.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/10.08, allocations: 10.41 kB / 3.417 GB, free: 86.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005653/10.08, allocations: 135.7 kB / 3.417 GB, free: 86.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00449/10.09, allocations: 0.6959 MB / 3.418 GB, free: 86.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004084/10.09, allocations: 1.048 MB / 3.419 GB, free: 86.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/10.09, allocations: 74.75 kB / 3.419 GB, free: 86.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/10.09, allocations: 81.44 kB / 3.419 GB, free: 86.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/10.1, allocations: 1.456 MB / 3.421 GB, free: 86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/10.1, allocations: 7.469 kB / 3.421 GB, free: 86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/10.1, allocations: 31.25 kB / 3.421 GB, free: 86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.851e-05/10.1, allocations: 44.66 kB / 3.421 GB, free: 86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004081/10.1, allocations: 1.409 MB / 3.422 GB, free: 85.99 MB / 0.6198 GB 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.009975/10.11, allocations: 5.305 MB / 3.427 GB, free: 83.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003836/10.11, allocations: 1.302 MB / 3.429 GB, free: 83.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/10.11, allocations: 0.9416 MB / 3.429 GB, free: 82.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002033/10.12, allocations: 0.7957 MB / 3.43 GB, free: 82.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 4.178e-06/10.12, allocations: 0 / 3.43 GB, free: 82.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.006429/10.12, allocations: 2.139 MB / 3.432 GB, free: 82.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/10.12, allocations: 63.33 kB / 3.432 GB, free: 82.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/10.13, allocations: 1.122 MB / 3.433 GB, free: 82.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/10.13, allocations: 45.55 kB / 3.434 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006151/10.13, allocations: 0.5749 MB / 3.434 GB, free: 82.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004007/10.13, allocations: 280.7 kB / 3.434 GB, free: 81.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/10.13, allocations: 20.28 kB / 3.434 GB, free: 81.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001087/10.13, allocations: 337.7 kB / 3.435 GB, free: 81.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/10.13, allocations: 0.6115 MB / 3.435 GB, free: 81.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/10.13, allocations: 0.9075 MB / 3.436 GB, free: 81.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/10.13, allocations: 0.6576 MB / 3.437 GB, free: 81.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/10.13, allocations: 2.625 kB / 3.437 GB, free: 81.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004327/10.14, allocations: 1.648 MB / 3.438 GB, free: 81.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/10.14, allocations: 6.625 kB / 3.438 GB, free: 81.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/10.14, allocations: 10.55 kB / 3.438 GB, free: 81.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/10.14, allocations: 10.94 kB / 3.438 GB, free: 81.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/10.14, allocations: 316.9 kB / 3.439 GB, free: 81.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.13e-05/10.14, allocations: 16.31 kB / 3.439 GB, free: 81.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/10.14, allocations: 235 kB / 3.439 GB, free: 81.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/10.14, allocations: 57.97 kB / 3.439 GB, free: 81.06 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 () * Number of clocked 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.0009413/10.14, allocations: 342.5 kB / 3.439 GB, free: 80.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005543/10.14, allocations: 136.5 kB / 3.44 GB, free: 80.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004898/10.15, allocations: 1.63 MB / 3.441 GB, free: 80.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/10.15, allocations: 13.91 kB / 3.441 GB, free: 80.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/10.15, allocations: 0 / 3.441 GB, free: 80.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/10.15, allocations: 3.938 kB / 3.441 GB, free: 80.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008208/10.16, allocations: 3.14 MB / 3.444 GB, free: 80.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/10.16, allocations: 3.125 kB / 3.444 GB, free: 80.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/10.16, allocations: 257.8 kB / 3.444 GB, free: 80.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-05/10.16, allocations: 6.812 kB / 3.444 GB, free: 80.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/10.16, allocations: 37.12 kB / 3.444 GB, free: 80.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.49e-05/10.16, allocations: 7.594 kB / 3.444 GB, free: 80.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/10.16, allocations: 13.36 kB / 3.445 GB, free: 80.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006327/10.16, allocations: 2.783 MB / 3.447 GB, free: 79.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/10.17, allocations: 354.2 kB / 3.448 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004738/10.17, allocations: 32.97 kB / 3.448 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/10.17, allocations: 132.1 kB / 3.448 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/10.17, allocations: 68.16 kB / 3.448 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/10.17, allocations: 41.22 kB / 3.448 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001638/10.17, allocations: 0.8743 MB / 3.449 GB, free: 79.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/10.17, allocations: 0 / 3.449 GB, free: 79.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002468/10.17, allocations: 0.5036 MB / 3.449 GB, free: 79.39 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) * Number of clocked states: 0 () * 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.01046/10.18, allocations: 6.324 MB / 3.455 GB, free: 76.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004068/10.19, allocations: 1.444 MB / 3.457 GB, free: 76.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/10.19, allocations: 0 / 3.457 GB, free: 76.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/10.19, allocations: 0.7305 MB / 3.457 GB, free: 76.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/10.19, allocations: 0.5846 MB / 3.458 GB, free: 76.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02275/10.21, allocations: 13.45 MB / 3.471 GB, free: 69.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009957/10.22, allocations: 1.201 MB / 3.472 GB, free: 68.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002306/10.22, allocations: 393.2 kB / 3.473 GB, free: 68.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/10.22, allocations: 0.5147 MB / 3.473 GB, free: 68.52 MB / 0.6198 GB Notification: Performance of SimCode: time 1.483e-06/10.22, allocations: 0 / 3.473 GB, free: 68.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/10.33, allocations: 60.11 MB / 3.532 GB, free: 42.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/10.33, allocations: 229.2 kB / 3.532 GB, free: 42.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.184/14.52, allocations: 0 / 3.532 GB, free: 42.25 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)