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.682/1.682, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001286/0.001286, allocations: 176.8 kB / 366.7 MB, free: 1.68 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.708/1.708, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008705/0.0008706, allocations: 84.58 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.227e-05, allocations: 0 / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7601, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2172/0.9774, allocations: 137.8 MB / 1.108 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.9777, allocations: 80.5 kB / 1.108 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003322/0.9811, allocations: 1.111 MB / 1.109 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9811, allocations: 4.5 kB / 1.109 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.9811, allocations: 1.594 kB / 1.109 GB, free: 11.13 MB / 0.7136 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.0004807/0.9816, allocations: 379.4 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.9817, allocations: 8.562 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.9818, allocations: 91.8 kB / 1.11 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.9821, allocations: 270 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-05/0.9822, allocations: 152.6 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.9823, allocations: 159.3 kB / 1.11 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.969e-05/0.9824, allocations: 155 kB / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.359e-05/0.9825, allocations: 101 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.9825, allocations: 76 kB / 1.11 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.199e-05/0.9826, allocations: 152 kB / 1.111 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.709e-05/0.9827, allocations: 154.6 kB / 1.111 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.9832, allocations: 485.7 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.9833, allocations: 180.4 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.9834, allocations: 81.27 kB / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.991e-05/0.9834, allocations: 77.16 kB / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/0.9835, allocations: 105.8 kB / 1.112 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.9835, allocations: 2.062 kB / 1.112 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001157/0.9837, allocations: 41.52 kB / 1.112 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.9837, allocations: 52.16 kB / 1.112 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.984, allocations: 199.3 kB / 1.112 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.984, allocations: 25.7 kB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.9841, allocations: 108.1 kB / 1.112 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.9841, allocations: 1.312 kB / 1.112 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/0.9841, allocations: 0 / 1.112 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.9843, allocations: 338.8 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.9844, allocations: 40.34 kB / 1.112 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.9846, allocations: 163.7 kB / 1.113 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005358/0.9851, allocations: 111.8 kB / 1.113 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9851, allocations: 0 / 1.113 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007546/0.9859, allocations: 257 kB / 1.113 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.9859, allocations: 16.59 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.986, allocations: 4 kB / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.986, allocations: 12 kB / 1.113 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.9862, allocations: 39.92 kB / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.9862, allocations: 4 kB / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.9863, allocations: 27.67 kB / 1.113 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.9863, allocations: 16 kB / 1.113 GB, free: 6.875 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.0001347/0.9865, allocations: 184.2 kB / 1.113 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.898e-05/0.9866, allocations: 148 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/0.9867, allocations: 120.8 kB / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.923e-05/0.9868, allocations: 121.9 kB / 1.114 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.975e-05/0.9869, allocations: 180.3 kB / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.71e-05/0.987, allocations: 178.2 kB / 1.114 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.601e-05/0.987, allocations: 188.2 kB / 1.114 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.9873, allocations: 413.8 kB / 1.114 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.532e-05/0.9874, allocations: 105 kB / 1.115 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.025e-05/0.9875, allocations: 104.9 kB / 1.115 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.575e-05/0.9876, allocations: 184.2 kB / 1.115 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.9877, allocations: 184.3 kB / 1.115 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.008e-05/0.9878, allocations: 180.2 kB / 1.115 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.367e-05/0.9879, allocations: 180.3 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.9881, allocations: 315.6 kB / 1.116 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.9882, allocations: 185.9 kB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.9883, allocations: 188.2 kB / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.9884, allocations: 105.7 kB / 1.116 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/0.9885, allocations: 180.3 kB / 1.116 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/0.9886, allocations: 109.9 kB / 1.116 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001462/0.9887, allocations: 151.2 kB / 1.117 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9887, allocations: 0 / 1.117 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003341/0.9891, allocations: 27.94 kB / 1.117 GB, free: 3.004 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.0005871/0.9897, allocations: 0.8276 MB / 1.117 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.9899, allocations: 79.77 kB / 1.117 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.9899, allocations: 8.406 kB / 1.117 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.9899, allocations: 0 / 1.117 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.9903, allocations: 0.5318 MB / 1.118 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.9909, allocations: 269.6 kB / 1.118 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.9914, allocations: 0.7144 MB / 1.119 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.326e-05/0.9914, allocations: 10.11 kB / 1.119 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.9915, allocations: 39.42 kB / 1.119 GB, free: 464 kB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9915, allocations: 0 / 1.119 GB, free: 464 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/1.013, allocations: 1.907 MB / 1.121 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/1.013, allocations: 155 kB / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.894, allocations: 0 / 1.121 GB, free: 14.4 MB / 0.7292 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)