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.00118/0.00118, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001256/0.001256, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.408/1.408, allocations: 205.1 MB / 222.8 MB, free: 4.664 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.715/1.715, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001956/0.001957, allocations: 70.75 kB / 0.6717 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2383, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004034/0.2424, allocations: 2.488 MB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009347/0.2434, allocations: 0.5285 MB / 0.7865 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.643e-05/0.2435, allocations: 8 kB / 0.7865 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.2439, allocations: 132.7 kB / 0.7866 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.2441, allocations: 71.48 kB / 0.7867 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.2443, allocations: 39.95 kB / 0.7867 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.2445, allocations: 250.7 kB / 0.7869 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.2448, allocations: 103.1 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.2449, allocations: 87.61 kB / 0.7871 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.245, allocations: 99.56 kB / 0.7872 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.2451, allocations: 24 kB / 0.7872 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.942e-05/0.2451, allocations: 16 kB / 0.7873 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.2452, allocations: 83.69 kB / 0.7873 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.2454, allocations: 155 kB / 0.7875 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.2456, allocations: 255.5 kB / 0.7877 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2457, allocations: 0 / 0.7877 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2457, allocations: 0 / 0.7877 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.2457, allocations: 0 / 0.7877 GB, free: 9.562 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.0008638/0.2465, allocations: 0.6494 MB / 0.7884 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2466, allocations: 12.03 kB / 0.7884 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.2467, allocations: 44.38 kB / 0.7884 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.247, allocations: 310.1 kB / 0.7887 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.2471, allocations: 8.375 kB / 0.7887 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.2471, allocations: 16.38 kB / 0.7887 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.2474, allocations: 141.7 kB / 0.7889 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2474, allocations: 192 / 0.7889 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.2475, allocations: 11.94 kB / 0.7889 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2475, allocations: 7.938 kB / 0.7889 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.2477, allocations: 87.95 kB / 0.789 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008318/0.2486, allocations: 0.5897 MB / 0.7896 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.2488, allocations: 90.59 kB / 0.7896 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.923e-05/0.2489, allocations: 48.84 kB / 0.7897 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.2489, allocations: 4 kB / 0.7897 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.249, allocations: 30.56 kB / 0.7897 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.249, allocations: 0 / 0.7897 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003688/0.2494, allocations: 145.1 kB / 0.7899 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.2494, allocations: 55.41 kB / 0.7899 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.2498, allocations: 390 kB / 0.7903 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2498, allocations: 25.7 kB / 0.7903 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.25, allocations: 219.9 kB / 0.7905 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.25, allocations: 39.53 kB / 0.7906 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.2501, allocations: 21.72 kB / 0.7906 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2503, allocations: 354.7 kB / 0.7909 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.2503, allocations: 23.98 kB / 0.7909 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.587e-05/0.2504, allocations: 63.36 kB / 0.791 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.2506, allocations: 95.67 kB / 0.7911 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2506, allocations: 0 / 0.7911 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002383/0.2509, allocations: 145.2 kB / 0.7912 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2509, allocations: 4 kB / 0.7912 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2509, allocations: 4.094 kB / 0.7912 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2509, allocations: 4 kB / 0.7912 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.251, allocations: 23.98 kB / 0.7913 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2511, allocations: 0 / 0.7913 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2512, allocations: 27.83 kB / 0.7913 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.2512, allocations: 0 / 0.7913 GB, free: 5.66 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.000157/0.2514, allocations: 169.7 kB / 0.7914 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.2514, allocations: 35.53 kB / 0.7915 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.062e-05/0.2515, allocations: 47.2 kB / 0.7915 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2515, allocations: 0 / 0.7915 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.2515, allocations: 0 / 0.7915 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.2515, allocations: 0 / 0.7915 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.2519, allocations: 309.4 kB / 0.7918 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2519, allocations: 0 / 0.7918 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.252, allocations: 19.98 kB / 0.7918 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.252, allocations: 0 / 0.7918 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.252, allocations: 0 / 0.7918 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.252, allocations: 0 / 0.7918 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.252, allocations: 4 kB / 0.7918 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.2524, allocations: 254.9 kB / 0.7921 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.2525, allocations: 112.9 kB / 0.7922 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.2526, allocations: 4 kB / 0.7922 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.985e-05/0.2527, allocations: 11.92 kB / 0.7922 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.2527, allocations: 0 / 0.7922 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.2527, allocations: 4 kB / 0.7922 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002768/0.253, allocations: 287.1 kB / 0.7925 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.253, allocations: 0 / 0.7925 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002735/0.2533, allocations: 47.78 kB / 0.7925 GB, free: 4.281 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.0001548/0.2535, allocations: 107.2 kB / 0.7926 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.2537, allocations: 71.91 kB / 0.7927 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2537, allocations: 0 / 0.7927 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.2538, allocations: 40.11 kB / 0.7927 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.2542, allocations: 28.36 kB / 0.7928 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.2554, allocations: 0.8031 MB / 0.7936 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.2558, allocations: 0.802 MB / 0.7943 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.2559, allocations: 11.44 kB / 0.7943 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2559, allocations: 4 kB / 0.7944 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of Templates: time 0.005343/0.2612, allocations: 2.978 MB / 0.7973 GB, free: 15.41 MB / 0.6231 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)