Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001428/0.001428, allocations: 105.9 kB / 16.36 MB, free: 6.305 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.001468/0.001469, allocations: 192.5 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 0.5496 GB, free: 17.36 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2248, allocations: 114.5 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003622/0.2284, allocations: 2.453 MB / 0.7872 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008433/0.2293, allocations: 0.5284 MB / 0.7877 GB, free: 184 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.102e-05/0.2294, allocations: 8 kB / 0.7877 GB, free: 176 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.2298, allocations: 136.3 kB / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.4729/0.7027, allocations: 85.08 kB / 0.7879 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.703, allocations: 41.7 kB / 0.7879 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.7033, allocations: 245.5 kB / 0.7882 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.7036, allocations: 106.3 kB / 0.7883 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.7037, allocations: 87.09 kB / 0.7884 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.7039, allocations: 104.6 kB / 0.7885 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.7039, allocations: 18.84 kB / 0.7885 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.704, allocations: 17.62 kB / 0.7885 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.7041, allocations: 81.56 kB / 0.7886 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.7042, allocations: 150.4 kB / 0.7887 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.7045, allocations: 346.4 kB / 0.7891 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.7045, allocations: 0 / 0.7891 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7046, allocations: 1 kB / 0.7891 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.7046, allocations: 2.844 kB / 0.7891 GB, free: 46.45 MB / 0.6544 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.0007825/0.7054, allocations: 0.6436 MB / 0.7897 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7054, allocations: 7.875 kB / 0.7897 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.7055, allocations: 45.38 kB / 0.7897 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.7058, allocations: 305.3 kB / 0.79 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.7058, allocations: 8.812 kB / 0.79 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.7059, allocations: 15.5 kB / 0.7901 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.7061, allocations: 139.3 kB / 0.7902 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.7062, allocations: 2.906 kB / 0.7902 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.7062, allocations: 10.5 kB / 0.7902 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.7062, allocations: 2.625 kB / 0.7902 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.7064, allocations: 101.5 kB / 0.7903 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000767/0.7072, allocations: 0.5846 MB / 0.7909 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.7074, allocations: 87.91 kB / 0.791 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.7076, allocations: 47.31 kB / 0.791 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.7076, allocations: 5.344 kB / 0.791 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.7076, allocations: 34.84 kB / 0.791 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.7076, allocations: 0 / 0.791 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003588/0.708, allocations: 143.3 kB / 0.7912 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.708, allocations: 55.84 kB / 0.7912 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.7084, allocations: 387.1 kB / 0.7916 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.7084, allocations: 30.36 kB / 0.7916 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.7086, allocations: 219.6 kB / 0.7918 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.7086, allocations: 30.09 kB / 0.7919 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.7087, allocations: 28.05 kB / 0.7919 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7088, allocations: 352.4 kB / 0.7922 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/0.7089, allocations: 24.64 kB / 0.7922 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.257e-05/0.709, allocations: 55.95 kB / 0.7923 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.7091, allocations: 87.48 kB / 0.7924 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.7091, allocations: 3.219 kB / 0.7924 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002242/0.7094, allocations: 154.6 kB / 0.7925 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7094, allocations: 5.375 kB / 0.7925 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.7094, allocations: 0 / 0.7925 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.7094, allocations: 6.219 kB / 0.7925 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.7095, allocations: 21.12 kB / 0.7926 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.7096, allocations: 2.281 kB / 0.7926 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.7096, allocations: 12.16 kB / 0.7926 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.7097, allocations: 4 kB / 0.7926 GB, free: 44.43 MB / 0.6544 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.000133/0.7098, allocations: 178.9 kB / 0.7928 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.7098, allocations: 36.72 kB / 0.7928 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.01e-05/0.7099, allocations: 38.7 kB / 0.7928 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7099, allocations: 2.625 kB / 0.7928 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7099, allocations: 0.8125 kB / 0.7928 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7099, allocations: 0 / 0.7928 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.7102, allocations: 307.8 kB / 0.7931 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7102, allocations: 0.875 kB / 0.7931 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.7104, allocations: 21.12 kB / 0.7931 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.7104, allocations: 2.375 kB / 0.7931 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.7104, allocations: 0.8438 kB / 0.7931 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.7104, allocations: 1.438 kB / 0.7931 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7104, allocations: 1.375 kB / 0.7931 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.7108, allocations: 270 kB / 0.7934 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.7108, allocations: 109.7 kB / 0.7935 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.7109, allocations: 3.5 kB / 0.7935 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.711, allocations: 3.5 kB / 0.7935 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.711, allocations: 6.453 kB / 0.7935 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.711, allocations: 0 / 0.7935 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002369/0.7113, allocations: 283.2 kB / 0.7938 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7113, allocations: 2.031 kB / 0.7938 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000282/0.7116, allocations: 46.38 kB / 0.7938 GB, free: 43.73 MB / 0.6544 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.0001416/0.7117, allocations: 104.2 kB / 0.7939 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.7119, allocations: 75.28 kB / 0.794 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.712, allocations: 0 / 0.794 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.712, allocations: 38.48 kB / 0.794 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.7124, allocations: 25.59 kB / 0.7941 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.7134, allocations: 0.6907 MB / 0.7947 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.7137, allocations: 0.7955 MB / 0.7955 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.7137, allocations: 14.28 kB / 0.7955 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of SimCode: time 1.192e-06/0.7137, allocations: 0 / 0.7955 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.004716/0.7184, allocations: 2.978 MB / 0.7984 GB, free: 42.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)