Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001297/0.001297, allocations: 194.6 kB / 16.26 MB, free: 6.633 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.58 kB / 0.9115 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3263, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004425/0.3308, allocations: 2.491 MB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008056/0.3316, allocations: 0.5199 MB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.3317, allocations: 4 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.3322, allocations: 123.8 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.3324, allocations: 75.47 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.3325, allocations: 39.91 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.3329, allocations: 250.6 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.3331, allocations: 119.3 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3332, allocations: 75.73 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.3334, allocations: 107.5 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.3334, allocations: 20 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.816e-05/0.3335, allocations: 20 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.3336, allocations: 83.69 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.3338, allocations: 162.8 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.3341, allocations: 330.7 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3341, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.299e-06/0.3341, allocations: 4 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.3341, allocations: 0 / 1.072 GB, free: 6.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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001032/0.3352, allocations: 0.6417 MB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.3352, allocations: 8.031 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.3353, allocations: 44.38 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.3357, allocations: 302.2 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3357, allocations: 12.38 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.3358, allocations: 12.38 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.3361, allocations: 151.8 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3361, allocations: 192 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.3361, allocations: 11.94 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.3361, allocations: 0 / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.3364, allocations: 99.89 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009074/0.3373, allocations: 0.5856 MB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.3376, allocations: 86.55 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.3377, allocations: 60.88 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.3377, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.3377, allocations: 34.56 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.3377, allocations: 0 / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003726/0.3381, allocations: 145.1 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.3382, allocations: 51.41 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.3386, allocations: 390 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3386, allocations: 29.7 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.3388, allocations: 224 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.3388, allocations: 35.48 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.3389, allocations: 29.62 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.339, allocations: 346.7 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.3391, allocations: 35.98 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.543e-05/0.3392, allocations: 51.8 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.3394, allocations: 95.3 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3394, allocations: 0 / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002373/0.3396, allocations: 141.2 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3397, allocations: 12.09 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3397, allocations: 0 / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3397, allocations: 0 / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3398, allocations: 23.98 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.3398, allocations: 4 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.572e-05/0.3399, allocations: 15.84 kB / 1.076 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.34, allocations: 4 kB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.0001747/0.3401, allocations: 169.7 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.3402, allocations: 39.53 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.898e-05/0.3403, allocations: 39.22 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3403, allocations: 0 / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3403, allocations: 4 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3403, allocations: 7.984 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.3406, allocations: 301.5 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3406, allocations: 3.984 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.3408, allocations: 16 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3408, allocations: 4 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3408, allocations: 4 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3408, allocations: 7.984 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3408, allocations: 0 / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.3412, allocations: 262.9 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/0.3413, allocations: 108.8 kB / 1.076 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.3414, allocations: 4 kB / 1.076 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.3415, allocations: 4 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.3415, allocations: 12.05 kB / 1.076 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.3415, allocations: 0 / 1.076 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002535/0.3418, allocations: 283.1 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.532e-06/0.3418, allocations: 0 / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002643/0.3421, allocations: 55.72 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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 (9): * Single equations (assignments): 9 * 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.0001274/0.3422, allocations: 95.25 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.3424, allocations: 79.84 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3424, allocations: 4.188 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.3425, allocations: 31.98 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.3429, allocations: 26.8 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.344, allocations: 0.7661 MB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.3445, allocations: 0.802 MB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.685e-05/0.3446, allocations: 8.641 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.3446, allocations: 15.44 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3446, allocations: 4 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.004512/0.3491, allocations: 1.227 MB / 1.08 GB, free: 13.94 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)