Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 289.9 MB / 297.4 MB, free: 6.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 184.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008695/0.0008695, allocations: 90.08 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.668e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7969, allocations: 116.3 MB / 0.9733 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.126/5.923, allocations: 2.068 GB / 3.041 GB, free: 61.12 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/5.924, allocations: 84.39 kB / 3.042 GB, free: 61.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.856/9.78, allocations: 0.9985 GB / 4.04 GB, free: 146.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.844e-06/9.78, allocations: 0 / 4.04 GB, free: 146.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001132/9.78, allocations: 43.52 kB / 4.04 GB, free: 146.5 MB / 0.948 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.006109/9.786, allocations: 1.726 MB / 4.042 GB, free: 144.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/9.786, allocations: 8.031 kB / 4.042 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004266/9.791, allocations: 0.6979 MB / 4.043 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/9.794, allocations: 1.018 MB / 4.044 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/9.794, allocations: 28 kB / 4.044 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/9.794, allocations: 60 kB / 4.044 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001571/9.795, allocations: 0.9527 MB / 4.045 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/9.797, allocations: 1.11 MB / 4.046 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/9.797, allocations: 11.94 kB / 4.046 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/9.797, allocations: 2.406 kB / 4.046 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.396e-05/9.797, allocations: 49.98 kB / 4.046 GB, free: 140.7 MB / 0.948 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.006569/9.804, allocations: 5.082 MB / 4.051 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/9.805, allocations: 0.876 MB / 4.051 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/9.806, allocations: 479 kB / 4.052 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/9.807, allocations: 0.9433 MB / 4.053 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007811/9.808, allocations: 0.586 MB / 4.053 GB, free: 132.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 4.779e-06/9.808, allocations: 4 kB / 4.053 GB, free: 132.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.002671/9.81, allocations: 1.123 MB / 4.055 GB, free: 131.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/9.81, allocations: 68.11 kB / 4.055 GB, free: 131.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/9.811, allocations: 0.8479 MB / 4.055 GB, free: 130.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/9.811, allocations: 29.7 kB / 4.055 GB, free: 130.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/9.812, allocations: 0.5897 MB / 4.056 GB, free: 129.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/9.812, allocations: 280 kB / 4.056 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-05/9.812, allocations: 0 / 4.056 GB, free: 129.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001151/9.812, allocations: 341.9 kB / 4.057 GB, free: 129.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005329/9.813, allocations: 406.4 kB / 4.057 GB, free: 128.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/9.813, allocations: 0.7117 MB / 4.058 GB, free: 127.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/9.814, allocations: 468.7 kB / 4.058 GB, free: 127.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/9.814, allocations: 4 kB / 4.058 GB, free: 127.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001732/9.816, allocations: 1.158 MB / 4.059 GB, free: 126.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/9.816, allocations: 13.05 kB / 4.059 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/9.816, allocations: 11.98 kB / 4.059 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/9.816, allocations: 12 kB / 4.059 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/9.818, allocations: 316.1 kB / 4.06 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/9.818, allocations: 15.94 kB / 4.06 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/9.819, allocations: 187 kB / 4.06 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/9.819, allocations: 59.95 kB / 4.06 GB, free: 125.6 MB / 0.948 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.000235/9.819, allocations: 141 kB / 4.06 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001496/9.821, allocations: 1.026 MB / 4.061 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/9.821, allocations: 114.6 kB / 4.061 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/9.823, allocations: 1.18 MB / 4.062 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/9.823, allocations: 8 kB / 4.062 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/9.823, allocations: 0 / 4.062 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/9.823, allocations: 7.922 kB / 4.062 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004003/9.827, allocations: 2.612 MB / 4.065 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/9.827, allocations: 4 kB / 4.065 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/9.829, allocations: 252.1 kB / 4.065 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/9.829, allocations: 12 kB / 4.065 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/9.829, allocations: 27.97 kB / 4.065 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/9.829, allocations: 11.92 kB / 4.065 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/9.829, allocations: 8 kB / 4.065 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/9.831, allocations: 2.113 MB / 4.067 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/9.832, allocations: 327.3 kB / 4.068 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/9.832, allocations: 23.94 kB / 4.068 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/9.833, allocations: 119.9 kB / 4.068 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/9.833, allocations: 68.59 kB / 4.068 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-05/9.833, allocations: 43.95 kB / 4.068 GB, free: 117.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007726/9.834, allocations: 0.6368 MB / 4.068 GB, free: 116.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/9.834, allocations: 0 / 4.068 GB, free: 116.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001767/9.836, allocations: 467.3 kB / 4.069 GB, free: 116.1 MB / 0.948 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.006404/9.842, allocations: 5.8 MB / 4.074 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001617/9.844, allocations: 1.002 MB / 4.075 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/9.844, allocations: 256 / 4.075 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006767/9.845, allocations: 0.522 MB / 4.076 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/9.847, allocations: 432.5 kB / 4.076 GB, free: 108.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004751/9.852, allocations: 2.253 MB / 4.079 GB, free: 106 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/9.853, allocations: 1.211 MB / 4.08 GB, free: 104.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001578/9.854, allocations: 348.3 kB / 4.08 GB, free: 104.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/9.855, allocations: 0.5109 MB / 4.081 GB, free: 103.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.613e-06/9.855, allocations: 0 / 4.081 GB, free: 103.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0869/9.942, allocations: 41.16 MB / 4.121 GB, free: 62.95 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/9.942, allocations: 177.8 kB / 4.121 GB, free: 62.76 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.669/13.61, allocations: 0 / 4.121 GB, free: 62.76 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)