Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.567/2.567, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.001577/0.001577, allocations: 176.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.255/2.255, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001285/0.001284, allocations: 86.3 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006507/0.000651, allocations: 13.31 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2158, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002813/0.2187, allocations: 1.866 MB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.2204, allocations: 0.8375 MB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.2206, allocations: 4 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006812/0.2213, allocations: 179.2 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.2215, allocations: 67.81 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.2218, allocations: 83.77 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.2222, allocations: 163.5 kB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.2224, allocations: 69.92 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.847e-05/0.2225, allocations: 71.66 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.2226, allocations: 87.52 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.2227, allocations: 4 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.2231, allocations: 127.8 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.2232, allocations: 167.4 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.2233, allocations: 117.3 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005702/0.2239, allocations: 0.4947 MB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2239, allocations: 0 / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.224, allocations: 4 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.224, allocations: 3.938 kB / 0.9825 GB, free: 23.91 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.001217/0.2252, allocations: 0.87 MB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.2253, allocations: 12.02 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.2253, allocations: 42.56 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007496/0.2261, allocations: 126.9 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.2277, allocations: 0.7991 MB / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.2278, allocations: 8 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.2279, allocations: 15.98 kB / 0.9843 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.2284, allocations: 130.1 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2284, allocations: 4 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.2284, allocations: 11.94 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2285, allocations: 7.969 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005792/0.229, allocations: 115.9 kB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.2303, allocations: 0.6251 MB / 0.9852 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.2319, allocations: 142.5 kB / 0.9853 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009714/0.2329, allocations: 0.5775 MB / 0.9859 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2329, allocations: 38.56 kB / 0.9859 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 3.076e-06/0.2329, allocations: 0 / 0.9859 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0004127/0.2334, allocations: 144.9 kB / 0.9861 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.2334, allocations: 51.41 kB / 0.9861 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.2345, allocations: 0.7866 MB / 0.9869 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.2345, allocations: 25.7 kB / 0.9869 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.2348, allocations: 367.5 kB / 0.9873 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.2349, allocations: 19.66 kB / 0.9873 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.2349, allocations: 8 kB / 0.9873 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.81e-05/0.235, allocations: 310 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2351, allocations: 12 kB / 0.9876 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.2352, allocations: 61.98 kB / 0.9877 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.2353, allocations: 24 kB / 0.9877 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.2354, allocations: 0 / 0.9877 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003383/0.2357, allocations: 168.6 kB / 0.9878 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2357, allocations: 8.188 kB / 0.9879 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2358, allocations: 4 kB / 0.9879 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.2358, allocations: 4 kB / 0.9879 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.2359, allocations: 23.98 kB / 0.9879 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.236, allocations: 11.88 kB / 0.9879 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.2361, allocations: 11.84 kB / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.2362, allocations: 7.984 kB / 0.9879 GB, free: 18.06 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.0003149/0.2365, allocations: 245.7 kB / 0.9881 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.2366, allocations: 75.02 kB / 0.9882 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.2369, allocations: 144.2 kB / 0.9884 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.237, allocations: 4 kB / 0.9884 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.237, allocations: 0 / 0.9884 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.237, allocations: 0 / 0.9884 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.2374, allocations: 385.5 kB / 0.9887 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2374, allocations: 0 / 0.9887 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.935e-05/0.2375, allocations: 12.36 kB / 0.9887 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.2376, allocations: 3.953 kB / 0.9887 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2376, allocations: 11.94 kB / 0.9888 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2376, allocations: 4 kB / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2376, allocations: 0 / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.2379, allocations: 230.5 kB / 0.989 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.238, allocations: 136.2 kB / 0.9891 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.2381, allocations: 3.953 kB / 0.9891 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.2383, allocations: 4 kB / 0.9891 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.2383, allocations: 15.92 kB / 0.9891 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.2383, allocations: 4 kB / 0.9891 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008034/0.2392, allocations: 0.5536 MB / 0.9897 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2392, allocations: 0 / 0.9897 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004009/0.2396, allocations: 39.94 kB / 0.9897 GB, free: 16.12 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.0005238/0.2401, allocations: 0.7663 MB / 0.9905 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.2404, allocations: 47.86 kB / 0.9905 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2404, allocations: 4 kB / 0.9905 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.2405, allocations: 11.98 kB / 0.9905 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.2409, allocations: 51.27 kB / 0.9906 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007256/0.2481, allocations: 4.465 MB / 0.9949 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.2487, allocations: 0.9604 MB / 0.9959 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003556/0.2491, allocations: 69.27 kB / 0.9959 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.2494, allocations: 220.5 kB / 0.9961 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of SimCode: time 2.224e-06/0.2494, allocations: 0 / 0.9961 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04044/0.2899, allocations: 9.347 MB / 1.005 GB, free: 244 kB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/0.2902, allocations: 206.1 kB / 1.005 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.787/3.077, allocations: 3.625 kB / 1.005 GB, free: 15.99 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)