Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 101.4 kB / 15.7 MB, free: 0 / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 193.3 kB / 16.64 MB, free: 5.477 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.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 4.348 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.864/1.864, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001449/0.001449, allocations: 73.69 kB / 0.6723 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.224, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003945/0.228, allocations: 2.776 MB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2296, allocations: 1.09 MB / 0.7879 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.2298, allocations: 7.938 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.2303, allocations: 218.8 kB / 0.7881 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.2305, allocations: 83.19 kB / 0.7882 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.2309, allocations: 195.6 kB / 0.7884 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.2314, allocations: 415.7 kB / 0.7888 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.2318, allocations: 213.8 kB / 0.789 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.232, allocations: 151.3 kB / 0.7891 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.2323, allocations: 190.9 kB / 0.7893 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.809e-05/0.2324, allocations: 44 kB / 0.7894 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.2327, allocations: 171.8 kB / 0.7895 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.2329, allocations: 259.2 kB / 0.7898 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.2332, allocations: 361.5 kB / 0.7901 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009492/0.2342, allocations: 0.9806 MB / 0.7911 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.2342, allocations: 0 / 0.7911 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2342, allocations: 0 / 0.7911 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.822e-05/0.2342, allocations: 0 / 0.7911 GB, free: 5.605 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00152/0.2358, allocations: 1.143 MB / 0.7922 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2358, allocations: 8.031 kB / 0.7922 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.237, allocations: 239.5 kB / 0.7924 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.2383, allocations: 0.7425 MB / 0.7931 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.2383, allocations: 25.03 kB / 0.7932 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.2384, allocations: 28.38 kB / 0.7932 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007753/0.2392, allocations: 382.5 kB / 0.7936 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2392, allocations: 7.938 kB / 0.7936 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.2392, allocations: 8 kB / 0.7936 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2392, allocations: 8 kB / 0.7936 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000991/0.2402, allocations: 434.2 kB / 0.794 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.2431, allocations: 1.784 MB / 0.7957 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.2438, allocations: 226.6 kB / 0.796 GB, free: 392 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.2441, allocations: 92.75 kB / 0.796 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.2442, allocations: 16.3 kB / 0.7961 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2442, allocations: 30.56 kB / 0.7961 GB, free: 240 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.2442, allocations: 0 / 0.7961 GB, free: 240 kB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001077/0.2453, allocations: 383.1 kB / 0.7965 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.2453, allocations: 55.41 kB / 0.7965 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.2467, allocations: 1.271 MB / 0.7977 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.2467, allocations: 29.7 kB / 0.7978 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.247, allocations: 432.3 kB / 0.7982 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.2471, allocations: 59.11 kB / 0.7982 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/0.2472, allocations: 57.59 kB / 0.7983 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.2473, allocations: 318 kB / 0.7986 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.2477, allocations: 163.8 kB / 0.7988 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/0.2481, allocations: 201.9 kB / 0.799 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.2487, allocations: 280.1 kB / 0.7992 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2487, allocations: 0 / 0.7992 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008805/0.2496, allocations: 470.4 kB / 0.7997 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2496, allocations: 12.92 kB / 0.7997 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2496, allocations: 4.141 kB / 0.7997 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2497, allocations: 11.94 kB / 0.7997 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.25, allocations: 51.91 kB / 0.7997 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.25, allocations: 7.938 kB / 0.7998 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.2503, allocations: 35.67 kB / 0.7998 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.2503, allocations: 15.98 kB / 0.7998 GB, free: 12.33 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002813/0.2506, allocations: 270.3 kB / 0.8001 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2507, allocations: 82.97 kB / 0.8001 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008675/0.2516, allocations: 341.8 kB / 0.8005 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2516, allocations: 0 / 0.8005 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2516, allocations: 0 / 0.8005 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.2516, allocations: 3.984 kB / 0.8005 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.2533, allocations: 1.012 MB / 0.8015 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2533, allocations: 0 / 0.8015 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.2536, allocations: 43.91 kB / 0.8015 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.2536, allocations: 4 kB / 0.8015 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.2536, allocations: 11.98 kB / 0.8015 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2536, allocations: 0 / 0.8015 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2537, allocations: 4 kB / 0.8015 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.2544, allocations: 446.2 kB / 0.8019 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.2547, allocations: 203.9 kB / 0.8021 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.2548, allocations: 8 kB / 0.8021 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.255, allocations: 23.98 kB / 0.8022 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.2551, allocations: 23.84 kB / 0.8022 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.2552, allocations: 8 kB / 0.8022 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001028/0.2562, allocations: 0.9111 MB / 0.8031 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2562, allocations: 0 / 0.8031 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004358/0.2566, allocations: 107.7 kB / 0.8032 GB, free: 8.699 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002062/0.2568, allocations: 115.2 kB / 0.8033 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007383/0.2576, allocations: 279.7 kB / 0.8036 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2576, allocations: 3.938 kB / 0.8036 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.2579, allocations: 104.6 kB / 0.8037 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.2584, allocations: 72.16 kB / 0.8037 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.2606, allocations: 1.392 MB / 0.8051 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.2611, allocations: 0.9997 MB / 0.8061 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.2614, allocations: 104.7 kB / 0.8062 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.2616, allocations: 47.36 kB / 0.8062 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2616, allocations: 0 / 0.8062 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of Templates: time 0.01197/0.2736, allocations: 5.559 MB / 0.8116 GB, free: 15.96 MB / 0.6388 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)