Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.001167/0.001166, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5138/0.5138, allocations: 90.82 MB / 104.5 MB, free: 9.793 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.325/1.325, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000965/0.0009649, allocations: 98.11 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.387e-05, allocations: 4 kB / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3722, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.417/4.789, allocations: 1.827 GB / 2.387 GB, free: 200.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/4.789, allocations: 87.95 kB / 2.388 GB, free: 200.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.577/7.366, allocations: 0.6863 GB / 3.074 GB, free: 105.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.562e-06/7.366, allocations: 0 / 3.074 GB, free: 105.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002006/7.366, allocations: 47.83 kB / 3.074 GB, free: 105.1 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.009662/7.376, allocations: 1.869 MB / 3.076 GB, free: 104.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/7.376, allocations: 13.98 kB / 3.076 GB, free: 104.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004981/7.376, allocations: 138 kB / 3.076 GB, free: 104.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005397/7.382, allocations: 0.883 MB / 3.077 GB, free: 104.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00426/7.386, allocations: 1.131 MB / 3.078 GB, free: 104.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/7.386, allocations: 69.94 kB / 3.078 GB, free: 104.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000377/7.387, allocations: 90.59 kB / 3.078 GB, free: 104.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/7.389, allocations: 1.28 MB / 3.079 GB, free: 104 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/7.389, allocations: 3.219 kB / 3.079 GB, free: 104 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/7.389, allocations: 37.7 kB / 3.079 GB, free: 104 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/7.389, allocations: 39.27 kB / 3.079 GB, free: 104 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/7.391, allocations: 1.134 MB / 3.08 GB, free: 104 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.008408/7.4, allocations: 5.039 MB / 3.085 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/7.402, allocations: 1.11 MB / 3.086 GB, free: 102.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000813/7.402, allocations: 0.5945 MB / 3.087 GB, free: 102.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/7.404, allocations: 0.9379 MB / 3.088 GB, free: 101.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009794/7.405, allocations: 0.7122 MB / 3.089 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=95): time 4.308e-06/7.405, allocations: 2.516 kB / 3.089 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.002839/7.407, allocations: 1.306 MB / 3.09 GB, free: 101 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/7.407, allocations: 63.31 kB / 3.09 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/7.409, allocations: 1.054 MB / 3.091 GB, free: 100.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/7.409, allocations: 47.7 kB / 3.091 GB, free: 100.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/7.409, allocations: 0.5435 MB / 3.092 GB, free: 100.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/7.41, allocations: 324.3 kB / 3.092 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/7.41, allocations: 17.72 kB / 3.092 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/7.41, allocations: 347.5 kB / 3.092 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000713/7.41, allocations: 491.4 kB / 3.093 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008748/7.411, allocations: 0.7193 MB / 3.093 GB, free: 99.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/7.412, allocations: 0.5077 MB / 3.094 GB, free: 99.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/7.412, allocations: 3.875 kB / 3.094 GB, free: 99.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002059/7.414, allocations: 1.354 MB / 3.095 GB, free: 99.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/7.414, allocations: 7.219 kB / 3.095 GB, free: 99.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/7.414, allocations: 7.234 kB / 3.095 GB, free: 99.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/7.414, allocations: 11.64 kB / 3.095 GB, free: 99.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/7.416, allocations: 356.2 kB / 3.096 GB, free: 99.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/7.416, allocations: 8.156 kB / 3.096 GB, free: 99.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/7.418, allocations: 266.8 kB / 3.096 GB, free: 99.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/7.418, allocations: 53.44 kB / 3.096 GB, free: 99.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0002503/7.418, allocations: 177.7 kB / 3.096 GB, free: 99.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/7.418, allocations: 128.9 kB / 3.096 GB, free: 99.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/7.421, allocations: 1.437 MB / 3.098 GB, free: 99.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/7.421, allocations: 17.52 kB / 3.098 GB, free: 99.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/7.421, allocations: 3.844 kB / 3.098 GB, free: 99.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/7.421, allocations: 6.844 kB / 3.098 GB, free: 99.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004484/7.425, allocations: 3.06 MB / 3.101 GB, free: 99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/7.425, allocations: 6.125 kB / 3.101 GB, free: 99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/7.427, allocations: 311.4 kB / 3.101 GB, free: 99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/7.427, allocations: 11.75 kB / 3.101 GB, free: 99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/7.427, allocations: 37.41 kB / 3.101 GB, free: 99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/7.427, allocations: 7.562 kB / 3.101 GB, free: 99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/7.427, allocations: 10.03 kB / 3.101 GB, free: 99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/7.43, allocations: 2.473 MB / 3.103 GB, free: 98.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006653/7.431, allocations: 376 kB / 3.104 GB, free: 98.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/7.431, allocations: 26.8 kB / 3.104 GB, free: 98.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/7.433, allocations: 176.2 kB / 3.104 GB, free: 98.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/7.433, allocations: 77.94 kB / 3.104 GB, free: 98.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-05/7.433, allocations: 42.72 kB / 3.104 GB, free: 98.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009802/7.434, allocations: 0.8234 MB / 3.105 GB, free: 98.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.8e-07/7.434, allocations: 0 / 3.105 GB, free: 98.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001651/7.435, allocations: 0.5246 MB / 3.105 GB, free: 98.05 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * 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.006354/7.442, allocations: 5.968 MB / 3.111 GB, free: 95.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00195/7.444, allocations: 1.206 MB / 3.112 GB, free: 95.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/7.444, allocations: 0 / 3.112 GB, free: 95.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000883/7.445, allocations: 0.6288 MB / 3.113 GB, free: 95.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/7.447, allocations: 0.5881 MB / 3.114 GB, free: 95.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/7.462, allocations: 3.399 MB / 3.117 GB, free: 94.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/7.463, allocations: 1.219 MB / 3.118 GB, free: 94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001694/7.464, allocations: 401.1 kB / 3.118 GB, free: 93.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007906/7.465, allocations: 0.5227 MB / 3.119 GB, free: 93.98 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/7.465, allocations: 0 / 3.119 GB, free: 93.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09395/7.559, allocations: 65.06 MB / 3.182 GB, free: 78.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/7.559, allocations: 192.4 kB / 3.183 GB, free: 78.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.18/11.74, allocations: 0 / 3.183 GB, free: 78.58 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)