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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001815/0.001815, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.793/1.793, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005431/0.0005431, allocations: 17 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2285, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002982/0.2316, allocations: 2.326 MB / 0.7897 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.2333, allocations: 1.008 MB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.2337, allocations: 4 kB / 0.7907 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000581/0.2342, allocations: 190.9 kB / 0.7908 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.2345, allocations: 67.55 kB / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.2349, allocations: 127.8 kB / 0.791 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000459/0.2354, allocations: 363.2 kB / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.2357, allocations: 166.3 kB / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.236, allocations: 111.4 kB / 0.7916 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.2362, allocations: 151.1 kB / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.076e-05/0.2363, allocations: 12 kB / 0.7918 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.2366, allocations: 143.8 kB / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.2368, allocations: 223.3 kB / 0.7922 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.237, allocations: 145.2 kB / 0.7923 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008286/0.2378, allocations: 0.7404 MB / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2378, allocations: 0 / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.656e-06/0.2378, allocations: 0 / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.072e-05/0.2379, allocations: 3.938 kB / 0.793 GB, free: 6.031 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.001738/0.2396, allocations: 1.026 MB / 0.794 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.2397, allocations: 8.031 kB / 0.794 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.2398, allocations: 66.53 kB / 0.7941 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.2411, allocations: 262.5 kB / 0.7943 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.2425, allocations: 0.7225 MB / 0.795 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.2426, allocations: 20.66 kB / 0.7951 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.2426, allocations: 32 kB / 0.7951 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008503/0.2435, allocations: 390 kB / 0.7955 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2435, allocations: 0 / 0.7955 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.2436, allocations: 12 kB / 0.7955 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.2436, allocations: 7.938 kB / 0.7955 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009908/0.2446, allocations: 438.4 kB / 0.7959 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.2482, allocations: 2.154 MB / 0.798 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.2489, allocations: 226.6 kB / 0.7982 GB, free: 484 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.2492, allocations: 92.81 kB / 0.7983 GB, free: 388 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.2492, allocations: 11.98 kB / 0.7983 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.2493, allocations: 34.56 kB / 0.7984 GB, free: 332 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 2.254e-06/0.2493, allocations: 0 / 0.7984 GB, free: 332 kB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001027/0.2503, allocations: 367.2 kB / 0.7987 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.2504, allocations: 59.34 kB / 0.7988 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.252, allocations: 1.255 MB / 0.8 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.2521, allocations: 33.7 kB / 0.8 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.2525, allocations: 432.2 kB / 0.8004 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/0.2526, allocations: 79.23 kB / 0.8005 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.2526, allocations: 8 kB / 0.8005 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2527, allocations: 310 kB / 0.8008 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.253, allocations: 151.9 kB / 0.801 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.2534, allocations: 193.9 kB / 0.8011 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.2537, allocations: 160 kB / 0.8013 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2537, allocations: 0 / 0.8013 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008349/0.2546, allocations: 466.7 kB / 0.8017 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2546, allocations: 11.92 kB / 0.8018 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.2546, allocations: 4 kB / 0.8018 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2546, allocations: 0 / 0.8018 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.2549, allocations: 59.94 kB / 0.8018 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.255, allocations: 8 kB / 0.8018 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.2552, allocations: 31.78 kB / 0.8019 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.2553, allocations: 11.98 kB / 0.8019 GB, free: 12.65 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 ($PRE.opeModWarUpEngTem.temChe.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003137/0.2556, allocations: 274.3 kB / 0.8021 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.2557, allocations: 86.86 kB / 0.8022 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008043/0.2565, allocations: 326.1 kB / 0.8025 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2565, allocations: 4 kB / 0.8025 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2566, allocations: 0 / 0.8025 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2566, allocations: 7.984 kB / 0.8025 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.2582, allocations: 1 MB / 0.8035 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2583, allocations: 4 kB / 0.8035 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.2585, allocations: 52.09 kB / 0.8036 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.2585, allocations: 4 kB / 0.8036 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.2586, allocations: 7.984 kB / 0.8036 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.2586, allocations: 3.953 kB / 0.8036 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.2586, allocations: 7.938 kB / 0.8036 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.2593, allocations: 439.8 kB / 0.804 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.2596, allocations: 211.9 kB / 0.8042 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.139e-05/0.2596, allocations: 8 kB / 0.8042 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.2599, allocations: 15.92 kB / 0.8042 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.26, allocations: 31.86 kB / 0.8043 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.26, allocations: 11.98 kB / 0.8043 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001119/0.2612, allocations: 0.9033 MB / 0.8051 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2612, allocations: 0 / 0.8051 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000446/0.2616, allocations: 103.8 kB / 0.8052 GB, free: 9.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.2628, allocations: 0.9883 MB / 0.8062 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006864/0.2635, allocations: 275.7 kB / 0.8065 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2635, allocations: 0 / 0.8065 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.2638, allocations: 108.1 kB / 0.8066 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.2643, allocations: 68.17 kB / 0.8066 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009107/0.2734, allocations: 5.563 MB / 0.8121 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.2741, allocations: 0.9986 MB / 0.8131 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003693/0.2745, allocations: 104.6 kB / 0.8132 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.2749, allocations: 299.3 kB / 0.8134 GB, free: 364 kB / 0.6231 GB Notification: Performance of SimCode: time 8.91e-07/0.2749, allocations: 0 / 0.8134 GB, free: 364 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.304, allocations: 13.82 MB / 0.8269 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.3042, allocations: 207.5 kB / 0.8271 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.452, allocations: 3 kB / 0.8271 GB, free: 2.508 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) Environment - environmentSimulation: