Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.212/2.212, allocations: 391.2 MB / 407 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 183.4 kB / 499.1 MB, free: 4.715 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 222.9 MB / 0.7948 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 103.7 kB / 0.9329 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 51.38 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4246, allocations: 140.6 MB / 1.218 GB, free: 117.4 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003137/0.4278, allocations: 1.286 MB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0003736/0.4282, allocations: 55.83 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.4283, allocations: 0 / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.706e-05/0.4283, allocations: 3.938 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.4286, allocations: 7.984 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.4288, allocations: 15.92 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.591e-05/0.4289, allocations: 31.97 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.828e-05/0.4289, allocations: 0 / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.429, allocations: 7.984 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.4291, allocations: 21.42 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.4291, allocations: 0 / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.503e-05/0.4292, allocations: 4 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.4293, allocations: 48.44 kB / 1.22 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.4294, allocations: 39.69 kB / 1.22 GB, free: 115.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.4295, allocations: 73.75 kB / 1.22 GB, free: 115.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4295, allocations: 4 kB / 1.22 GB, free: 115.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.614e-06/0.4295, allocations: 0 / 1.22 GB, free: 115.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4295, allocations: 0 / 1.22 GB, free: 115.8 MB / 0.823 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.0004969/0.43, allocations: 422.8 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.4301, allocations: 19.97 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.4302, allocations: 88.03 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.4303, allocations: 262.8 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.4304, allocations: 154.6 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.4304, allocations: 154.6 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.402e-05/0.4305, allocations: 108.9 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.4305, allocations: 75.28 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.4306, allocations: 150.6 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.4306, allocations: 150.6 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.72e-05/0.4307, allocations: 158.5 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.431, allocations: 497.8 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.463e-05/0.431, allocations: 173 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.4311, allocations: 80.14 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.4311, allocations: 79.28 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.4311, allocations: 109.8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.4311, allocations: 3.938 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 9.846e-05/0.4313, allocations: 37.52 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.4313, allocations: 130.7 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.4315, allocations: 227 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.4315, allocations: 25.7 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.4317, allocations: 120 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-06/0.4317, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.4318, allocations: 37.69 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.4318, allocations: 334.7 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.4319, allocations: 60.03 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.432, allocations: 53.28 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.4322, allocations: 139 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4322, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003421/0.4325, allocations: 177.4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4325, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4326, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4326, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.4326, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4326, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.4327, allocations: 11.83 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.4327, allocations: 19.86 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.4328, allocations: 201.8 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.4329, allocations: 120.8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.4329, allocations: 113.5 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.254e-05/0.4329, allocations: 180.2 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.402e-05/0.433, allocations: 176.3 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.695e-05/0.433, allocations: 188.2 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.4332, allocations: 437.1 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/0.4332, allocations: 101 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.4333, allocations: 112.9 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.615e-05/0.4333, allocations: 180.2 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.4333, allocations: 180.2 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.763e-05/0.4334, allocations: 181.1 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.671e-05/0.4334, allocations: 184.3 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.4337, allocations: 0.8763 MB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.4338, allocations: 197.9 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.4339, allocations: 192.4 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.4339, allocations: 101 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.434, allocations: 184.2 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.434, allocations: 108.9 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001056/0.4341, allocations: 164.6 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.4341, allocations: 0 / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000345/0.4345, allocations: 19.94 kB / 1.228 GB, free: 107.1 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000188/0.4347, allocations: 182.5 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.4348, allocations: 75.95 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4348, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/0.4349, allocations: 3.938 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.4352, allocations: 0.5185 MB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.4357, allocations: 328 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.4359, allocations: 0.7088 MB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.4359, allocations: 7.984 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.4359, allocations: 11.44 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of SimCode: time 5.41e-07/0.436, allocations: 0 / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of Templates: time 0.003175/0.4391, allocations: 0.7305 MB / 1.23 GB, free: 104.5 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)