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.0009758/0.0009757, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001061/0.001061, allocations: 188.1 kB / 16.25 MB, free: 6.633 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.462/1.462, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.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.815/1.815, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001418/0.001418, allocations: 63.05 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.278, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004082/0.2821, allocations: 2.496 MB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2832, allocations: 0.5246 MB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.2834, allocations: 4 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004848/0.2839, allocations: 124.7 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.2842, allocations: 79.45 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.2844, allocations: 43.92 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.2847, allocations: 246.7 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.285, allocations: 111.1 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.2852, allocations: 87.66 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.2853, allocations: 95.55 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.2854, allocations: 20 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.2854, allocations: 23.94 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2855, allocations: 79.75 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.2857, allocations: 154.9 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.286, allocations: 338.7 kB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.286, allocations: 0 / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2861, allocations: 3.938 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.2861, allocations: 4 kB / 0.7872 GB, free: 9.461 MB / 0.6075 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.001047/0.2871, allocations: 0.6378 MB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.2872, allocations: 8.031 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.766e-05/0.2873, allocations: 44.38 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.2877, allocations: 306.1 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.2877, allocations: 16.38 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.2878, allocations: 12.38 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.2881, allocations: 145.7 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.2881, allocations: 192 / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.2881, allocations: 11.94 kB / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2882, allocations: 4 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.2884, allocations: 95.89 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009207/0.2893, allocations: 0.5781 MB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.2897, allocations: 90.48 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.2898, allocations: 44.95 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.2898, allocations: 0 / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.2898, allocations: 42.5 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.2898, allocations: 0 / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000456/0.2903, allocations: 145.1 kB / 0.7893 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.2904, allocations: 55.41 kB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.2908, allocations: 386 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.2909, allocations: 29.7 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.291, allocations: 223.9 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.2911, allocations: 31.55 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.2911, allocations: 25.72 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.2913, allocations: 350.7 kB / 0.7903 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.2914, allocations: 27.98 kB / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.796e-05/0.2915, allocations: 59.42 kB / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.2917, allocations: 91.67 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2917, allocations: 0 / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002507/0.292, allocations: 153.2 kB / 0.7906 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.292, allocations: 4 kB / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.292, allocations: 3.984 kB / 0.7907 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2921, allocations: 4 kB / 0.7907 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.2922, allocations: 20 kB / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2922, allocations: 3.984 kB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2923, allocations: 15.84 kB / 0.7907 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.2923, allocations: 4.094 kB / 0.7907 GB, free: 5.582 MB / 0.6075 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.0001606/0.2925, allocations: 173.7 kB / 0.7909 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.2926, allocations: 35.53 kB / 0.7909 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.333e-05/0.2926, allocations: 39.2 kB / 0.7909 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2926, allocations: 0 / 0.7909 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2927, allocations: 4 kB / 0.7909 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2927, allocations: 0 / 0.7909 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.293, allocations: 313.5 kB / 0.7912 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.293, allocations: 0 / 0.7912 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.2931, allocations: 19.98 kB / 0.7913 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2931, allocations: 4 kB / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2931, allocations: 4 kB / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2931, allocations: 0 / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2932, allocations: 0 / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.2935, allocations: 263 kB / 0.7915 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.2936, allocations: 112.6 kB / 0.7916 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.2936, allocations: 7.984 kB / 0.7916 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.2937, allocations: 4.062 kB / 0.7916 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.2938, allocations: 4 kB / 0.7916 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.2938, allocations: 4 kB / 0.7916 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002559/0.2941, allocations: 279.1 kB / 0.7919 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2941, allocations: 0 / 0.7919 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003011/0.2944, allocations: 51.78 kB / 0.792 GB, free: 4.191 MB / 0.6075 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.0001297/0.2945, allocations: 99.23 kB / 0.7921 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.2947, allocations: 83.84 kB / 0.7921 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2948, allocations: 0 / 0.7921 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.2948, allocations: 28 kB / 0.7922 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.2953, allocations: 25.55 kB / 0.7922 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.2964, allocations: 0.7743 MB / 0.7929 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.2968, allocations: 0.802 MB / 0.7937 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.329e-05/0.2968, allocations: 12.64 kB / 0.7937 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.2969, allocations: 15.44 kB / 0.7937 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2969, allocations: 0 / 0.7937 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of Templates: time 0.004416/0.3013, allocations: 1.234 MB / 0.795 GB, free: 1.078 MB / 0.6075 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)