Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001222/0.001222, allocations: 187.6 kB / 377.1 MB, free: 1.512 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.575/1.575, allocations: 205.4 MB / 0.6366 GB, free: 9.559 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.0008791/0.0008791, allocations: 93.94 kB / 0.7509 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 12 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2688, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7526/1.021, allocations: 138.5 MB / 1.124 GB, free: 36 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/1.022, allocations: 75.58 kB / 1.124 GB, free: 35.94 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002509/1.024, allocations: 1.123 MB / 1.125 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.805e-06/1.024, allocations: 0 / 1.125 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.024, allocations: 0 / 1.125 GB, free: 35.05 MB / 0.7292 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.0003232/1.025, allocations: 412 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.025, allocations: 12.02 kB / 1.125 GB, free: 34.6 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/1.025, allocations: 105.8 kB / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/1.025, allocations: 93.16 kB / 1.125 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/1.025, allocations: 261.6 kB / 1.126 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/1.025, allocations: 162.6 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/1.025, allocations: 164.4 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.435e-05/1.025, allocations: 105.6 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/1.025, allocations: 75.28 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/1.025, allocations: 151.8 kB / 1.126 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/1.025, allocations: 156.3 kB / 1.126 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/1.025, allocations: 154 kB / 1.127 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/1.025, allocations: 0.5024 MB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/1.025, allocations: 176.5 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/1.026, allocations: 79.28 kB / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/1.026, allocations: 106.7 kB / 1.127 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.026, allocations: 0 / 1.127 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.883e-05/1.026, allocations: 37.61 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/1.026, allocations: 126.7 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/1.026, allocations: 202.5 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/1.026, allocations: 30.25 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/1.026, allocations: 115.5 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/1.026, allocations: 0 / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/1.026, allocations: 8 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.955e-05/1.026, allocations: 325.7 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/1.026, allocations: 50.84 kB / 1.128 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/1.026, allocations: 175 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.309e-05/1.026, allocations: 69.97 kB / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.026, allocations: 4 kB / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003331/1.027, allocations: 240 kB / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.027, allocations: 8.781 kB / 1.129 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.027, allocations: 4 kB / 1.129 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.027, allocations: 8 kB / 1.129 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/1.027, allocations: 46.92 kB / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.027, allocations: 11.59 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.451e-05/1.027, allocations: 16.45 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/1.027, allocations: 16.81 kB / 1.129 GB, free: 30.79 MB / 0.7292 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 () * Number of clocked 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 9.319e-05/1.027, allocations: 220.6 kB / 1.129 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/1.027, allocations: 116.8 kB / 1.129 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/1.027, allocations: 116.8 kB / 1.129 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/1.027, allocations: 180.3 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/1.027, allocations: 184.2 kB / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/1.027, allocations: 181.1 kB / 1.13 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/1.027, allocations: 440.1 kB / 1.13 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/1.027, allocations: 105.6 kB / 1.13 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/1.028, allocations: 104.2 kB / 1.13 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.516e-05/1.028, allocations: 184.2 kB / 1.131 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/1.028, allocations: 184.3 kB / 1.131 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-05/1.028, allocations: 180.3 kB / 1.131 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.668e-05/1.028, allocations: 184.2 kB / 1.131 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.444e-05/1.028, allocations: 316.7 kB / 1.131 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/1.028, allocations: 186 kB / 1.132 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/1.028, allocations: 187.6 kB / 1.132 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/1.028, allocations: 104.9 kB / 1.132 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/1.028, allocations: 176.8 kB / 1.132 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/1.028, allocations: 108.9 kB / 1.132 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.891e-05/1.028, allocations: 160.2 kB / 1.132 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 4 kB / 1.132 GB, free: 27.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002685/1.028, allocations: 28 kB / 1.132 GB, free: 27.05 MB / 0.7292 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 () * Number of clocked 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.0002808/1.029, allocations: 0.8246 MB / 1.133 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001556/1.029, allocations: 94.88 kB / 1.133 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/1.029, allocations: 0.5625 kB / 1.133 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/1.029, allocations: 3.938 kB / 1.133 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/1.029, allocations: 0.5315 MB / 1.134 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/1.03, allocations: 3.643 MB / 1.137 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009624/1.031, allocations: 0.7111 MB / 1.138 GB, free: 37.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.796e-05/1.031, allocations: 16.31 kB / 1.138 GB, free: 37.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/1.032, allocations: 35.05 kB / 1.138 GB, free: 37.1 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/1.032, allocations: 0 / 1.138 GB, free: 37.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/1.044, allocations: 2.284 MB / 1.14 GB, free: 35.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/1.044, allocations: 201.7 kB / 1.141 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.802, allocations: 0 / 1.141 GB, free: 35.57 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)