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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.3 MB / 308.1 MB, free: 4.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001522, allocations: 194.2 kB / 376.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205 MB / 0.6353 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001106, allocations: 96.88 kB / 0.748 GB, free: 61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 55.91 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.317, allocations: 114.5 MB / 0.9822 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003845/0.3209, allocations: 2.49 MB / 0.9847 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008706/0.3218, allocations: 0.5401 MB / 0.9852 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.3219, allocations: 0 / 0.9852 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.3223, allocations: 124.8 kB / 0.9853 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.3226, allocations: 79.42 kB / 0.9854 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.3227, allocations: 39.95 kB / 0.9854 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.323, allocations: 234.8 kB / 0.9856 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.3232, allocations: 95.02 kB / 0.9857 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.3233, allocations: 83.61 kB / 0.9858 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.3235, allocations: 99.5 kB / 0.9859 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.3235, allocations: 12 kB / 0.9859 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.802e-05/0.3235, allocations: 12 kB / 0.9859 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.925e-05/0.3237, allocations: 75.69 kB / 0.986 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.3238, allocations: 147 kB / 0.9861 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.3241, allocations: 326.8 kB / 0.9865 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3241, allocations: 0 / 0.9865 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3241, allocations: 0 / 0.9865 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.664e-05/0.3241, allocations: 0 / 0.9865 GB, free: 5.988 MB / 0.7136 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.0009245/0.3251, allocations: 0.6494 MB / 0.9871 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3251, allocations: 11.97 kB / 0.9871 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.3252, allocations: 44.38 kB / 0.9871 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.3256, allocations: 302.1 kB / 0.9874 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3256, allocations: 12.38 kB / 0.9874 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.3256, allocations: 16.38 kB / 0.9875 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.3259, allocations: 141.9 kB / 0.9876 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3259, allocations: 4.094 kB / 0.9876 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.326, allocations: 11.94 kB / 0.9876 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.326, allocations: 8 kB / 0.9876 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.3262, allocations: 91.95 kB / 0.9877 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/0.327, allocations: 0.5895 MB / 0.9883 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.3273, allocations: 94.58 kB / 0.9884 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.3274, allocations: 44.84 kB / 0.9884 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3274, allocations: 0 / 0.9884 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.3275, allocations: 38.56 kB / 0.9884 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.3275, allocations: 3.938 kB / 0.9884 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003481/0.3278, allocations: 137.2 kB / 0.9886 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.3279, allocations: 55.41 kB / 0.9886 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.3283, allocations: 390 kB / 0.989 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3283, allocations: 33.7 kB / 0.989 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.3285, allocations: 219.9 kB / 0.9892 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.3285, allocations: 31.55 kB / 0.9893 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.3286, allocations: 25.72 kB / 0.9893 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3287, allocations: 354.7 kB / 0.9896 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.3288, allocations: 23.98 kB / 0.9897 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-05/0.3289, allocations: 59.36 kB / 0.9897 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.329, allocations: 87.36 kB / 0.9898 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.329, allocations: 0 / 0.9898 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002352/0.3293, allocations: 145.2 kB / 0.9899 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3293, allocations: 11.94 kB / 0.99 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3293, allocations: 0 / 0.99 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3293, allocations: 4 kB / 0.99 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3295, allocations: 24.45 kB / 0.99 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3295, allocations: 7.938 kB / 0.99 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.3296, allocations: 7.938 kB / 0.99 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3296, allocations: 4 kB / 0.99 GB, free: 2.105 MB / 0.7136 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.0001456/0.3297, allocations: 177.7 kB / 0.9902 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.3298, allocations: 39.47 kB / 0.9902 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.3299, allocations: 35.22 kB / 0.9902 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3299, allocations: 0 / 0.9902 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3299, allocations: 4 kB / 0.9902 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3299, allocations: 3.984 kB / 0.9902 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.3302, allocations: 309.5 kB / 0.9905 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3302, allocations: 0 / 0.9905 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3303, allocations: 16 kB / 0.9906 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3303, allocations: 0 / 0.9906 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3303, allocations: 4 kB / 0.9906 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3303, allocations: 0 / 0.9906 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3304, allocations: 3.984 kB / 0.9906 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.3324, allocations: 1.645 MB / 0.9922 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.3325, allocations: 116.6 kB / 0.9923 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.3326, allocations: 7.938 kB / 0.9923 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.3327, allocations: 0 / 0.9923 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.3327, allocations: 16.05 kB / 0.9923 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3328, allocations: 4 kB / 0.9923 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002573/0.333, allocations: 275.1 kB / 0.9926 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.333, allocations: 0 / 0.9926 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003835/0.3334, allocations: 67.84 kB / 0.9926 GB, free: 15.18 MB / 0.7292 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.0001186/0.3335, allocations: 99.23 kB / 0.9927 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.3338, allocations: 84.16 kB / 0.9928 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3338, allocations: 4 kB / 0.9928 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.3339, allocations: 31.98 kB / 0.9928 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.3344, allocations: 21.56 kB / 0.9929 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.3359, allocations: 0.8957 MB / 0.9937 GB, free: 14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.3363, allocations: 0.8024 MB / 0.9945 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.495e-05/0.3363, allocations: 12.62 kB / 0.9945 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.3364, allocations: 19.44 kB / 0.9946 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.3364, allocations: 0 / 0.9946 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of Templates: time 0.00467/0.3411, allocations: 1.376 MB / 0.9959 GB, free: 11.79 MB / 0.7292 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)