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.612/2.612, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.001538/0.001537, allocations: 182.3 kB / 371 MB, free: 10.88 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.145/2.145, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001619/0.001618, allocations: 90.05 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007134/0.0007139, allocations: 13.45 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2355, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002624/0.2382, allocations: 1.886 MB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2397, allocations: 0.88 MB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2398, allocations: 8 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006565/0.2405, allocations: 167.1 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.2406, allocations: 59.56 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.241, allocations: 83.89 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.2413, allocations: 191.1 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.2415, allocations: 65.94 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.2416, allocations: 75.58 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.2417, allocations: 95.44 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.2418, allocations: 4 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.2421, allocations: 127.8 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.2423, allocations: 203.4 kB / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.912e-05/0.2424, allocations: 117.3 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.243, allocations: 0.5454 MB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.243, allocations: 0 / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.243, allocations: 8 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.243, allocations: 0 / 0.9828 GB, free: 23.76 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.001222/0.2443, allocations: 0.8817 MB / 0.9837 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2443, allocations: 15.95 kB / 0.9837 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.2444, allocations: 46.5 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007495/0.2451, allocations: 122.9 kB / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009207/0.2461, allocations: 0.5539 MB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.2461, allocations: 12 kB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.2462, allocations: 15.94 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.2467, allocations: 198.1 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2467, allocations: 3.938 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.2467, allocations: 4 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2468, allocations: 4 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006532/0.2474, allocations: 223.9 kB / 0.9849 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.2489, allocations: 0.9333 MB / 0.9858 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008921/0.2498, allocations: 314.5 kB / 0.9861 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.2501, allocations: 104.8 kB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.2515, allocations: 408.7 kB / 0.9866 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2516, allocations: 34.56 kB / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.2516, allocations: 0 / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001157/0.2527, allocations: 396.6 kB / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.2528, allocations: 55.36 kB / 0.987 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.2543, allocations: 0.9896 MB / 0.988 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2543, allocations: 29.7 kB / 0.988 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.2547, allocations: 348 kB / 0.9883 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.2547, allocations: 31.55 kB / 0.9884 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.2547, allocations: 0 / 0.9884 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.2548, allocations: 306 kB / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.2551, allocations: 99.95 kB / 0.9888 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.2554, allocations: 122.5 kB / 0.9889 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.2558, allocations: 104.3 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2558, allocations: 0 / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007926/0.2566, allocations: 316.5 kB / 0.9893 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2566, allocations: 8.062 kB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2566, allocations: 4 kB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2567, allocations: 3.984 kB / 0.9893 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.2569, allocations: 27.92 kB / 0.9893 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.257, allocations: 0 / 0.9893 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.2572, allocations: 15.88 kB / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.2573, allocations: 8 kB / 0.9893 GB, free: 16.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.0003096/0.2576, allocations: 249.7 kB / 0.9896 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.2577, allocations: 71.06 kB / 0.9897 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008778/0.2586, allocations: 332.4 kB / 0.99 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2586, allocations: 0 / 0.99 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2586, allocations: 7.938 kB / 0.99 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2586, allocations: 0 / 0.99 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/0.2593, allocations: 0.5246 MB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2593, allocations: 0 / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.2595, allocations: 23.98 kB / 0.9905 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2595, allocations: 0 / 0.9905 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2596, allocations: 4 kB / 0.9905 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2596, allocations: 0 / 0.9905 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2596, allocations: 0 / 0.9905 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.2603, allocations: 410.4 kB / 0.9909 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.2606, allocations: 180.3 kB / 0.9911 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.2607, allocations: 8 kB / 0.9911 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.261, allocations: 11.98 kB / 0.9911 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.2611, allocations: 7.938 kB / 0.9911 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.2611, allocations: 3.984 kB / 0.9911 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001111/0.2622, allocations: 0.7098 MB / 0.9918 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2622, allocations: 4 kB / 0.9918 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004391/0.2627, allocations: 67.91 kB / 0.9919 GB, free: 14.14 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 (9): * Single equations (assignments): 9 * 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.001056/0.2637, allocations: 0.9536 MB / 0.9928 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006693/0.2644, allocations: 207.8 kB / 0.993 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2644, allocations: 3.938 kB / 0.993 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.2648, allocations: 120 kB / 0.9931 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.2654, allocations: 47.31 kB / 0.9932 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009362/0.2747, allocations: 4.703 MB / 0.9978 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.2753, allocations: 0.9448 MB / 0.9987 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.2757, allocations: 73.8 kB / 0.9988 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/0.2761, allocations: 219.4 kB / 0.999 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of SimCode: time 1.403e-06/0.2761, allocations: 0 / 0.999 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/0.3238, allocations: 11.6 MB / 1.01 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000317/0.3242, allocations: 207.5 kB / 1.01 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.946/3.271, allocations: 0 / 1.01 GB, free: 11.12 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)