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.827/1.827, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.00111/0.00111, allocations: 183.1 kB / 371.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.0009353/0.0009353, allocations: 88.77 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.47e-05/4.472e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2649, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.844/6.109, allocations: 2.069 GB / 3.049 GB, free: 173 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/6.109, allocations: 84.52 kB / 3.049 GB, free: 172.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.248/10.36, allocations: 1.01 GB / 4.059 GB, free: 161.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.174e-06/10.36, allocations: 1.5 kB / 4.059 GB, free: 161.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001532/10.36, allocations: 38.66 kB / 4.059 GB, free: 161.5 MB / 0.9636 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.007317/10.36, allocations: 1.729 MB / 4.061 GB, free: 160.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.511e-05/10.36, allocations: 10.12 kB / 4.061 GB, free: 160.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002632/10.36, allocations: 135.7 kB / 4.061 GB, free: 160.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/10.37, allocations: 0.6984 MB / 4.061 GB, free: 160.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003529/10.37, allocations: 1.014 MB / 4.062 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/10.37, allocations: 72.09 kB / 4.062 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/10.37, allocations: 95.17 kB / 4.063 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/10.38, allocations: 1.234 MB / 4.064 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/10.38, allocations: 5.5 kB / 4.064 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/10.38, allocations: 42.2 kB / 4.064 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-05/10.38, allocations: 48.28 kB / 4.064 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/10.38, allocations: 1.141 MB / 4.065 GB, free: 160.1 MB / 0.9636 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.00869/10.39, allocations: 5.092 MB / 4.07 GB, free: 157.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/10.39, allocations: 0.8611 MB / 4.071 GB, free: 157.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007943/10.39, allocations: 486 kB / 4.071 GB, free: 157.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/10.39, allocations: 0.9417 MB / 4.072 GB, free: 156.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008184/10.39, allocations: 0.5463 MB / 4.073 GB, free: 156.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=82): time 4.408e-06/10.39, allocations: 0 / 4.073 GB, free: 156.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=82): time 0.002613/10.39, allocations: 1.052 MB / 4.074 GB, free: 156.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/10.39, allocations: 65.66 kB / 4.074 GB, free: 156.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/10.4, allocations: 1.114 MB / 4.075 GB, free: 156.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.86e-05/10.4, allocations: 46.39 kB / 4.075 GB, free: 156.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/10.4, allocations: 0.5838 MB / 4.076 GB, free: 156.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/10.4, allocations: 283.8 kB / 4.076 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/10.4, allocations: 18.41 kB / 4.076 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001059/10.4, allocations: 343.3 kB / 4.076 GB, free: 155.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000734/10.4, allocations: 375 kB / 4.076 GB, free: 155.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009031/10.4, allocations: 0.6984 MB / 4.077 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006903/10.4, allocations: 436.9 kB / 4.078 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/10.4, allocations: 3.656 kB / 4.078 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001918/10.4, allocations: 1.161 MB / 4.079 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/10.4, allocations: 7.688 kB / 4.079 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/10.4, allocations: 7.406 kB / 4.079 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.578e-05/10.4, allocations: 11.47 kB / 4.079 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/10.4, allocations: 298.7 kB / 4.079 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/10.4, allocations: 15.58 kB / 4.079 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/10.4, allocations: 233.5 kB / 4.079 GB, free: 155 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/10.41, allocations: 53.5 kB / 4.079 GB, free: 155 MB / 0.9636 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.000247/10.41, allocations: 170.3 kB / 4.079 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/10.41, allocations: 140.2 kB / 4.08 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/10.41, allocations: 1.137 MB / 4.081 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/10.41, allocations: 7.219 kB / 4.081 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/10.41, allocations: 1.594 kB / 4.081 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/10.41, allocations: 7 kB / 4.081 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/10.41, allocations: 2.601 MB / 4.083 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/10.41, allocations: 3.875 kB / 4.083 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/10.41, allocations: 240.4 kB / 4.084 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/10.41, allocations: 11.48 kB / 4.084 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.998e-05/10.41, allocations: 30.05 kB / 4.084 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/10.41, allocations: 10.97 kB / 4.084 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/10.41, allocations: 7.031 kB / 4.084 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/10.42, allocations: 2.041 MB / 4.086 GB, free: 153.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007345/10.42, allocations: 337.5 kB / 4.086 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/10.42, allocations: 26.88 kB / 4.086 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/10.42, allocations: 140.5 kB / 4.086 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/10.42, allocations: 73.64 kB / 4.086 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-05/10.42, allocations: 35.62 kB / 4.086 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001263/10.42, allocations: 0.8631 MB / 4.087 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.182e-06/10.42, allocations: 0 / 4.087 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00199/10.42, allocations: 0.4957 MB / 4.087 GB, free: 153.3 MB / 0.9636 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.00724/10.43, allocations: 5.525 MB / 4.093 GB, free: 150.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00226/10.43, allocations: 0.9545 MB / 4.094 GB, free: 150.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/10.43, allocations: 3.75 kB / 4.094 GB, free: 150.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008593/10.43, allocations: 498.5 kB / 4.094 GB, free: 150.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/10.44, allocations: 0.5978 MB / 4.095 GB, free: 150.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006055/10.44, allocations: 2.304 MB / 4.097 GB, free: 149.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008788/10.44, allocations: 1.208 MB / 4.098 GB, free: 149.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00201/10.45, allocations: 364.1 kB / 4.099 GB, free: 149.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009895/10.45, allocations: 0.503 MB / 4.099 GB, free: 149.1 MB / 0.9636 GB Notification: Performance of SimCode: time 2.805e-06/10.45, allocations: 0 / 4.099 GB, free: 149.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/10.56, allocations: 64.29 MB / 4.162 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/10.56, allocations: 202 kB / 4.162 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.744/15.3, allocations: 0 / 4.162 GB, free: 138.6 MB / 0.9636 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)