Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.833/1.833, allocations: 288.2 MB / 303.2 MB, free: 8.207 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.00107/0.00107, allocations: 182 kB / 371.8 MB, free: 10.27 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.857/1.857, allocations: 205.4 MB / 0.6305 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009429/0.0009429, allocations: 98.78 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004033, allocations: 11.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.21, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002601/0.2127, allocations: 1.863 MB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2142, allocations: 0.8414 MB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.2143, allocations: 4 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.2148, allocations: 183.2 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.215, allocations: 67.81 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.2153, allocations: 79.77 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.2156, allocations: 167.5 kB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.2158, allocations: 65.92 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2159, allocations: 71.66 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.216, allocations: 87.52 kB / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.216, allocations: 4 kB / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.2163, allocations: 127.8 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2164, allocations: 163.4 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.2165, allocations: 117.3 kB / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.217, allocations: 0.5064 MB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.217, allocations: 0 / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.906e-06/0.217, allocations: 0 / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.217, allocations: 0 / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009727/0.218, allocations: 0.8739 MB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.218, allocations: 8.031 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.273e-05/0.2181, allocations: 46.56 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005106/0.2186, allocations: 122.9 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.2197, allocations: 0.7991 MB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.2197, allocations: 8 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.2197, allocations: 12 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.22, allocations: 134.1 kB / 0.9856 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2201, allocations: 4 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.2201, allocations: 8 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.2201, allocations: 11.88 kB / 0.9857 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.2204, allocations: 111.9 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007433/0.2212, allocations: 0.629 MB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.2216, allocations: 142.5 kB / 0.9865 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005871/0.2222, allocations: 0.5813 MB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.2223, allocations: 34.56 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.2223, allocations: 0 / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002922/0.2226, allocations: 141 kB / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.2226, allocations: 59.34 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.2232, allocations: 0.7827 MB / 0.9881 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.2233, allocations: 25.7 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.2235, allocations: 363.5 kB / 0.9885 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.2235, allocations: 23.66 kB / 0.9885 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.2235, allocations: 4 kB / 0.9885 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.811e-05/0.2236, allocations: 310 kB / 0.9888 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.123e-05/0.2236, allocations: 16 kB / 0.9888 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.506e-05/0.2237, allocations: 61.98 kB / 0.9888 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.918e-05/0.2238, allocations: 27.98 kB / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2238, allocations: 0 / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001892/0.224, allocations: 172.6 kB / 0.989 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.224, allocations: 4.188 kB / 0.989 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.224, allocations: 4 kB / 0.989 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.224, allocations: 4 kB / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.469e-05/0.2241, allocations: 19.98 kB / 0.9891 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2241, allocations: 7.938 kB / 0.9891 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.2242, allocations: 11.84 kB / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.2242, allocations: 4 kB / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (11): * Single equations (assignments): 11 * 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.0001761/0.2244, allocations: 249.7 kB / 0.9893 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.2245, allocations: 75.02 kB / 0.9894 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.2247, allocations: 152.5 kB / 0.9895 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2247, allocations: 0 / 0.9895 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2247, allocations: 0 / 0.9895 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2247, allocations: 0 / 0.9895 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.225, allocations: 385.4 kB / 0.9899 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.225, allocations: 0 / 0.9899 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.2251, allocations: 7.984 kB / 0.9899 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2251, allocations: 4 kB / 0.9899 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.2251, allocations: 7.953 kB / 0.9899 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2251, allocations: 0 / 0.9899 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2251, allocations: 0 / 0.9899 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.2253, allocations: 226.5 kB / 0.9902 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.172e-05/0.2254, allocations: 140.1 kB / 0.9903 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.2254, allocations: 8 kB / 0.9903 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.2255, allocations: 3.953 kB / 0.9903 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.2256, allocations: 11.92 kB / 0.9903 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2256, allocations: 4 kB / 0.9903 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004532/0.226, allocations: 0.5536 MB / 0.9909 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.226, allocations: 0 / 0.9909 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002689/0.2263, allocations: 43.94 kB / 0.9909 GB, free: 15.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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.0003843/0.2267, allocations: 0.7663 MB / 0.9916 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.2269, allocations: 43.92 kB / 0.9917 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2269, allocations: 3.938 kB / 0.9917 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.2269, allocations: 19.98 kB / 0.9917 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.2272, allocations: 47.95 kB / 0.9918 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/0.2314, allocations: 4.473 MB / 0.9961 GB, free: 10 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.2318, allocations: 0.9652 MB / 0.9971 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.232, allocations: 77.31 kB / 0.9971 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.2322, allocations: 215.4 kB / 0.9973 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.2322, allocations: 0 / 0.9973 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.2521, allocations: 9.349 MB / 1.006 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.2524, allocations: 205.9 kB / 1.007 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/2.506, allocations: 0 / 1.007 GB, free: 15.31 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)