Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.979/1.979, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001071/0.001071, allocations: 184.8 kB / 361.4 MB, free: 6.871 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.653/1.653, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008302/0.0008302, allocations: 89.53 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.723e-05/1.736e-05, allocations: 0 / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7394/0.7395, allocations: 115.3 MB / 0.9645 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.9443, allocations: 136.8 MB / 1.098 GB, free: 2.922 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.9446, allocations: 72.89 kB / 1.098 GB, free: 2.852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002623/0.9472, allocations: 1.11 MB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9473, allocations: 0.5938 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.9473, allocations: 4.656 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000351/0.9476, allocations: 379 kB / 1.1 GB, free: 1.348 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.9477, allocations: 12.02 kB / 1.1 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.9478, allocations: 96.03 kB / 1.1 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.948, allocations: 266.7 kB / 1.1 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/0.9481, allocations: 151.4 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/0.9481, allocations: 159.2 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.259e-05/0.9482, allocations: 155.1 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.073e-05/0.9483, allocations: 103.5 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.9483, allocations: 75.94 kB / 1.101 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.278e-05/0.9484, allocations: 151.3 kB / 1.101 GB, free: 164 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/0.9485, allocations: 151.2 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.9488, allocations: 483.6 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.984e-05/0.9489, allocations: 185.2 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.949, allocations: 82.52 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.949, allocations: 75.28 kB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.9491, allocations: 109 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.9491, allocations: 0 / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 9.812e-05/0.9492, allocations: 41.52 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.9492, allocations: 55.34 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.9494, allocations: 190 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.9494, allocations: 29.7 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.9495, allocations: 107.8 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-06/0.9495, allocations: 7.438 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.9495, allocations: 0 / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9497, allocations: 330.8 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.9497, allocations: 40.34 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.9499, allocations: 163.1 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.9504, allocations: 119.8 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.9504, allocations: 0 / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006841/0.9511, allocations: 261.3 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.9511, allocations: 11.95 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.9511, allocations: 4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.9511, allocations: 4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.9513, allocations: 43.92 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.9513, allocations: 7.984 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/0.9514, allocations: 23.69 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.9515, allocations: 16 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001122/0.9516, allocations: 189 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.945e-05/0.9517, allocations: 142.4 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.9517, allocations: 118 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.9518, allocations: 118.1 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-05/0.9519, allocations: 176.3 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.616e-05/0.952, allocations: 180.6 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.116e-05/0.952, allocations: 192.2 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.9523, allocations: 409.8 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.792e-05/0.9523, allocations: 105 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.9524, allocations: 106.5 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-05/0.9524, allocations: 184.2 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.41e-05/0.9525, allocations: 180.3 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-05/0.9526, allocations: 184.2 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.439e-05/0.9527, allocations: 180.3 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.9528, allocations: 311.6 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.9529, allocations: 193.9 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.953, allocations: 188.1 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.9531, allocations: 108.9 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.9532, allocations: 180.3 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.9533, allocations: 105.9 kB / 1.107 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001182/0.9534, allocations: 152.6 kB / 1.107 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9534, allocations: 0 / 1.107 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003277/0.9537, allocations: 31.94 kB / 1.107 GB, free: 9.652 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000467/0.9542, allocations: 0.8291 MB / 1.108 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.9544, allocations: 81.02 kB / 1.108 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9544, allocations: 4.062 kB / 1.108 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.9544, allocations: 0 / 1.108 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.9548, allocations: 0.5229 MB / 1.108 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.9553, allocations: 276.1 kB / 1.108 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.9556, allocations: 0.7144 MB / 1.109 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.9557, allocations: 11.05 kB / 1.109 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.9557, allocations: 35.42 kB / 1.109 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9557, allocations: 0 / 1.109 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2903/1.246, allocations: 1.919 MB / 1.111 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/1.246, allocations: 157.5 kB / 1.111 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.873, allocations: 0.875 kB / 1.111 GB, free: 5.043 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)