Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001486/0.001486, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001825/0.001825, allocations: 192.8 kB / 16.14 MB, free: 6.703 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.575/1.575, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.015/3.015, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.78 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3729, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004146/0.3771, allocations: 2.491 MB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009587/0.3781, allocations: 0.5199 MB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3782, allocations: 4 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.3788, allocations: 127.8 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.379, allocations: 87.39 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.3791, allocations: 31.98 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.3793, allocations: 242.5 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.3795, allocations: 103.2 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.3797, allocations: 71.72 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.3798, allocations: 103.4 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.3798, allocations: 12 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.88e-05/0.3799, allocations: 12 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.882e-05/0.38, allocations: 75.69 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.3801, allocations: 143 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.3804, allocations: 322.7 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.3804, allocations: 0 / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3805, allocations: 8 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.3805, allocations: 0 / 1.072 GB, free: 6.551 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.0008928/0.3814, allocations: 0.6417 MB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3814, allocations: 8.031 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.3815, allocations: 44.38 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.3819, allocations: 310.2 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.3819, allocations: 16.38 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.3819, allocations: 12.38 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.3822, allocations: 139.8 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3822, allocations: 4.172 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.3823, allocations: 15.94 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3823, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.3825, allocations: 91.95 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.3834, allocations: 0.5934 MB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.3837, allocations: 90.66 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.3838, allocations: 52.78 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.3839, allocations: 0 / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.3839, allocations: 38.5 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.3839, allocations: 0 / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003658/0.3843, allocations: 145.1 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3843, allocations: 55.41 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.3847, allocations: 390 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.3847, allocations: 25.7 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.3849, allocations: 220 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.3849, allocations: 35.48 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.385, allocations: 29.62 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3852, allocations: 350.7 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.3852, allocations: 35.98 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.3854, allocations: 54.92 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.3855, allocations: 87.36 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3855, allocations: 4 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00024/0.3858, allocations: 145.2 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3858, allocations: 8.469 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3858, allocations: 0 / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3858, allocations: 0 / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.386, allocations: 27.92 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.386, allocations: 4 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.693e-05/0.3861, allocations: 23.86 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3861, allocations: 4 kB / 1.075 GB, free: 2.652 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.0001483/0.3862, allocations: 161.8 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.3863, allocations: 35.53 kB / 1.075 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.3864, allocations: 43.2 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3864, allocations: 0 / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3864, allocations: 0 / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.3864, allocations: 7.984 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.3868, allocations: 305.5 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3868, allocations: 4 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.387, allocations: 23.92 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.387, allocations: 4 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.387, allocations: 0 / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.387, allocations: 4 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.387, allocations: 0 / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.3874, allocations: 254.9 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.3875, allocations: 108.8 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.3876, allocations: 4 kB / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.3877, allocations: 11.98 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.3877, allocations: 4 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3878, allocations: 0 / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003203/0.3881, allocations: 279.1 kB / 1.076 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.456e-06/0.3881, allocations: 0 / 1.076 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003271/0.3884, allocations: 55.72 kB / 1.077 GB, free: 1.273 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.000207/0.3886, allocations: 99.25 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002816/0.3889, allocations: 75.84 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3889, allocations: 4.281 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.273e-05/0.389, allocations: 35.92 kB / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.3896, allocations: 25.55 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3911, allocations: 0.7602 MB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.3917, allocations: 0.7945 MB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.394e-05/0.3918, allocations: 12.64 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.3918, allocations: 19.38 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/0.3918, allocations: 0 / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of Templates: time 0.005768/0.3976, allocations: 1.196 MB / 1.079 GB, free: 14.2 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)