Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00844/0.00844, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.141/3.141, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004739, allocations: 12.75 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4916/0.4921, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001848/0.4941, allocations: 0.9393 MB / 1.075 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004139/0.4945, allocations: 51.83 kB / 1.075 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.4945, allocations: 0 / 1.075 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.696e-05/0.4946, allocations: 0 / 1.075 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.4948, allocations: 22.09 kB / 1.075 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.495, allocations: 3.984 kB / 1.075 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.4952, allocations: 39.84 kB / 1.075 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.24e-05/0.4952, allocations: 3.984 kB / 1.075 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.4953, allocations: 4 kB / 1.075 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.4954, allocations: 17.42 kB / 1.075 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.4954, allocations: 4 kB / 1.075 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.4955, allocations: 4 kB / 1.075 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.4957, allocations: 52.44 kB / 1.075 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.639e-05/0.4957, allocations: 65.39 kB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.4959, allocations: 75.92 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.4959, allocations: 0 / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.507e-06/0.4959, allocations: 3.938 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.496, allocations: 0 / 1.075 GB, free: 6.254 MB / 0.8262 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.0005998/0.4966, allocations: 403 kB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/0.4966, allocations: 8.031 kB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.4968, allocations: 92.03 kB / 1.076 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.497, allocations: 278.7 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.277e-05/0.4971, allocations: 154.6 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.4972, allocations: 154.5 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.446e-05/0.4973, allocations: 105 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/0.4974, allocations: 75.28 kB / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.4974, allocations: 154.6 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.399e-05/0.4975, allocations: 150.6 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.988e-05/0.4976, allocations: 150.6 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.4981, allocations: 497.8 kB / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.4982, allocations: 177.1 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.4983, allocations: 80.14 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.4984, allocations: 83.28 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.021e-05/0.4984, allocations: 105.8 kB / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.4984, allocations: 0 / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001297/0.4986, allocations: 41.5 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.4987, allocations: 134.6 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.499, allocations: 227 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.4991, allocations: 29.7 kB / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4992, allocations: 112 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-06/0.4992, allocations: 0 / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.4992, allocations: 29.7 kB / 1.078 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.4995, allocations: 330.8 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.4996, allocations: 55.95 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.663e-05/0.4997, allocations: 56.53 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.4999, allocations: 140.7 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.4999, allocations: 0 / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004602/0.5004, allocations: 177.3 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.5004, allocations: 9.344 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.5004, allocations: 4 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.5005, allocations: 0 / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.164e-06/0.5005, allocations: 3.938 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5005, allocations: 0 / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.5006, allocations: 19.84 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.5006, allocations: 11.92 kB / 1.079 GB, free: 2.055 MB / 0.8262 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.0001773/0.5008, allocations: 197.1 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.112e-05/0.5009, allocations: 116.8 kB / 1.08 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.416e-05/0.501, allocations: 121.2 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.819e-05/0.5011, allocations: 176.3 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001013/0.5012, allocations: 184.3 kB / 1.08 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.663e-05/0.5013, allocations: 184.2 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.5016, allocations: 437.1 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.593e-05/0.5017, allocations: 108.9 kB / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.5018, allocations: 105 kB / 1.081 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.943e-05/0.5018, allocations: 180.2 kB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.189e-05/0.5019, allocations: 184.2 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.538e-05/0.502, allocations: 184.3 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-05/0.5021, allocations: 184.2 kB / 1.081 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.5023, allocations: 323.8 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.5024, allocations: 190 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.5025, allocations: 180.3 kB / 1.082 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.5027, allocations: 104.9 kB / 1.082 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.5027, allocations: 176.3 kB / 1.082 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/0.5028, allocations: 112.9 kB / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000142/0.503, allocations: 155.2 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.503, allocations: 4 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002543/0.5032, allocations: 16 kB / 1.083 GB, free: 14.29 MB / 0.8419 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.000242/0.5035, allocations: 178.5 kB / 1.083 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.5037, allocations: 75.97 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5037, allocations: 0 / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.5037, allocations: 0 / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.5042, allocations: 0.5263 MB / 1.083 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.5048, allocations: 336.1 kB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.5053, allocations: 0.7082 MB / 1.084 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.5053, allocations: 7.984 kB / 1.084 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.5054, allocations: 11.44 kB / 1.084 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of SimCode: time 6.71e-07/0.5054, allocations: 0 / 1.084 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of Templates: time 0.003971/0.5094, allocations: 0.6993 MB / 1.085 GB, free: 11.69 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)