Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",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.675/2.675, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.001358/0.001357, allocations: 184.2 kB / 371 MB, free: 10.87 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.219/2.219, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008815/0.0008813, allocations: 93.92 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006614/0.0006617, allocations: 13.47 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2208, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004994/0.2258, allocations: 2.318 MB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.229, allocations: 1.008 MB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.2295, allocations: 4 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.2305, allocations: 182.9 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.2309, allocations: 63.56 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.2317, allocations: 135.8 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006949/0.2325, allocations: 365 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.233, allocations: 158.6 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.2332, allocations: 111.4 kB / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.2335, allocations: 147.1 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.129e-05/0.2336, allocations: 16 kB / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.2342, allocations: 135.8 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.2346, allocations: 227.3 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.2348, allocations: 145.2 kB / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.236, allocations: 0.7444 MB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.2361, allocations: 0 / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2361, allocations: 0 / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.2361, allocations: 0 / 0.984 GB, free: 22.49 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00247/0.2386, allocations: 1.022 MB / 0.985 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/0.2387, allocations: 12.02 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.2389, allocations: 70.53 kB / 0.9851 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003272/0.2422, allocations: 262.5 kB / 0.9854 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.2454, allocations: 0.7186 MB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.2455, allocations: 32.58 kB / 0.9861 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.2456, allocations: 28 kB / 0.9861 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.2475, allocations: 390 kB / 0.9865 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.2475, allocations: 0 / 0.9865 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.19e-05/0.2477, allocations: 12 kB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.2477, allocations: 8 kB / 0.9865 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.2501, allocations: 442.2 kB / 0.9869 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008231/0.2584, allocations: 2.15 MB / 0.989 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.2599, allocations: 226.6 kB / 0.9893 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007178/0.2607, allocations: 92.81 kB / 0.9894 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.871e-05/0.2608, allocations: 7.984 kB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.2609, allocations: 38.56 kB / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 3.927e-06/0.2609, allocations: 0 / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.002477/0.2634, allocations: 362.2 kB / 0.9897 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.2635, allocations: 63.36 kB / 0.9898 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/0.2665, allocations: 1.252 MB / 0.991 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/0.2666, allocations: 33.7 kB / 0.9911 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000625/0.2673, allocations: 432.2 kB / 0.9915 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.2674, allocations: 71.3 kB / 0.9915 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.2675, allocations: 8 kB / 0.9915 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.2676, allocations: 321.9 kB / 0.9919 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008041/0.2684, allocations: 155.9 kB / 0.992 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008743/0.2693, allocations: 202.4 kB / 0.9922 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.2702, allocations: 152 kB / 0.9923 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/0.2702, allocations: 3.938 kB / 0.9923 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.003878/0.2741, allocations: 476.2 kB / 0.9928 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.2742, allocations: 4 kB / 0.9928 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.2743, allocations: 4 kB / 0.9928 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.2743, allocations: 0 / 0.9928 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.2749, allocations: 55.91 kB / 0.9929 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.2749, allocations: 3.953 kB / 0.9929 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.2755, allocations: 39.81 kB / 0.9929 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.2755, allocations: 12 kB / 0.9929 GB, free: 13.09 MB / 0.6198 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.000475/0.276, allocations: 269.6 kB / 0.9932 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.2762, allocations: 86.86 kB / 0.9933 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.2776, allocations: 334.2 kB / 0.9936 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2776, allocations: 0 / 0.9936 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2776, allocations: 0 / 0.9936 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2776, allocations: 11.98 kB / 0.9936 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.2801, allocations: 0.9961 MB / 0.9946 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.2802, allocations: 4 kB / 0.9946 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.2807, allocations: 52.09 kB / 0.9946 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.2807, allocations: 4 kB / 0.9946 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.2808, allocations: 15.94 kB / 0.9946 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.2808, allocations: 0 / 0.9946 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.2808, allocations: 7.938 kB / 0.9946 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.2821, allocations: 431.8 kB / 0.995 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.2824, allocations: 211.9 kB / 0.9952 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.2825, allocations: 7.938 kB / 0.9953 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.283, allocations: 19.97 kB / 0.9953 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.2831, allocations: 27.88 kB / 0.9953 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.2831, allocations: 11.98 kB / 0.9953 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001517/0.2847, allocations: 0.9033 MB / 0.9962 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.72e-07/0.2847, allocations: 0 / 0.9962 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006959/0.2854, allocations: 107.8 kB / 0.9963 GB, free: 9.465 MB / 0.6198 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.001627/0.2871, allocations: 0.9908 MB / 0.9973 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.2883, allocations: 275.7 kB / 0.9975 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.2883, allocations: 3.938 kB / 0.9975 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.2888, allocations: 112.2 kB / 0.9976 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/0.2896, allocations: 60.22 kB / 0.9977 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.3027, allocations: 5.563 MB / 1.003 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.3034, allocations: 0.9995 MB / 1.004 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006538/0.304, allocations: 100.7 kB / 1.004 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/0.3046, allocations: 288.2 kB / 1.004 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of SimCode: time 2.464e-06/0.3046, allocations: 4 kB / 1.004 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04936/0.354, allocations: 13.85 MB / 1.018 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.3543, allocations: 207.8 kB / 1.018 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.023/3.377, allocations: 0 / 1.018 GB, free: 2.906 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)