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.001502/0.001502, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001804/0.001804, allocations: 192.5 kB / 16.14 MB, free: 6.688 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 59.78 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5319/0.5332, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003736/0.537, allocations: 1.278 MB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004612/0.5375, allocations: 54 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.5376, allocations: 0 / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.263e-05/0.5376, allocations: 0 / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.5379, allocations: 11.98 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.5381, allocations: 11.92 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.5383, allocations: 35.97 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.359e-05/0.5384, allocations: 0 / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.5384, allocations: 7.938 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.5385, allocations: 25.41 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.5386, allocations: 3.938 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.5386, allocations: 4 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.5388, allocations: 48.44 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.253e-05/0.5389, allocations: 39.69 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.5391, allocations: 75.88 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.5391, allocations: 0 / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5391, allocations: 0 / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.5391, allocations: 0 / 1.069 GB, free: 9.324 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.000711/0.5398, allocations: 422.8 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.5399, allocations: 8.031 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.904e-05/0.54, allocations: 88.03 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.5402, allocations: 278.7 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/0.5403, allocations: 154.6 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.292e-05/0.5404, allocations: 150.6 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.372e-05/0.5405, allocations: 105 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.5405, allocations: 79.22 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.5406, allocations: 158.6 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.165e-05/0.5407, allocations: 154.6 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.99e-05/0.5408, allocations: 150.6 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.5412, allocations: 0.4899 MB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.732e-05/0.5413, allocations: 169.1 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.5413, allocations: 84.08 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.5414, allocations: 79.28 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.5414, allocations: 105.8 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5414, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.906e-05/0.5415, allocations: 37.52 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.5416, allocations: 126.7 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.5419, allocations: 235 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.542, allocations: 29.7 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/0.5421, allocations: 112 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.5421, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.5421, allocations: 41.69 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.5423, allocations: 326.8 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.5424, allocations: 59.89 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/0.5425, allocations: 59.97 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.5427, allocations: 132.8 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5427, allocations: 7.969 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003407/0.543, allocations: 179 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5431, allocations: 4 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5431, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5431, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-06/0.5431, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5431, allocations: 3.938 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.5432, allocations: 19.69 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.5432, allocations: 7.938 kB / 1.073 GB, free: 5.102 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.0001412/0.5433, allocations: 209.1 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.5434, allocations: 112.8 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.5435, allocations: 121.3 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.245e-05/0.5435, allocations: 184.2 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.861e-05/0.5436, allocations: 176.3 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.305e-05/0.5437, allocations: 180.2 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.544, allocations: 445.1 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.949e-05/0.544, allocations: 101 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.5441, allocations: 104.9 kB / 1.074 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-05/0.5441, allocations: 184.3 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.167e-05/0.5442, allocations: 188.2 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.687e-05/0.5443, allocations: 180.3 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.517e-05/0.5443, allocations: 176.3 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.5445, allocations: 323.8 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.5447, allocations: 193.9 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.473e-05/0.5448, allocations: 176.3 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.5449, allocations: 105 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.545, allocations: 184.2 kB / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.545, allocations: 105 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001427/0.5452, allocations: 159.1 kB / 1.076 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.5452, allocations: 0 / 1.076 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002671/0.5454, allocations: 20 kB / 1.076 GB, free: 1.332 MB / 0.8262 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.0002282/0.5457, allocations: 178.5 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.5459, allocations: 75.91 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5459, allocations: 0 / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.737e-06/0.5459, allocations: 0 / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.5463, allocations: 0.5263 MB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.5469, allocations: 323.9 kB / 1.077 GB, free: 200 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.5473, allocations: 0.7082 MB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.66e-05/0.5473, allocations: 11.98 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.5473, allocations: 7.438 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.5473, allocations: 0 / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of Templates: time 0.003327/0.5507, allocations: 0.7149 MB / 1.079 GB, free: 14.73 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)