Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.001099/0.001098, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 190.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.658/1.658, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001417/0.001417, allocations: 74 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.232, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00457/0.2366, allocations: 2.267 MB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.2386, allocations: 0.9501 MB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.2388, allocations: 0 / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006901/0.2396, allocations: 207.3 kB / 0.787 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.2398, allocations: 63.45 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.2403, allocations: 111.7 kB / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003816/0.2407, allocations: 219.1 kB / 0.7873 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.2409, allocations: 101.6 kB / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.2411, allocations: 87.56 kB / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.2413, allocations: 99.44 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.2413, allocations: 16 kB / 0.7876 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.2417, allocations: 151.8 kB / 0.7878 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.2419, allocations: 207.4 kB / 0.788 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.2421, allocations: 266 kB / 0.7882 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007405/0.2429, allocations: 0.7276 MB / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2429, allocations: 0 / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2429, allocations: 0 / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.2429, allocations: 4 kB / 0.7889 GB, free: 7.777 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001172/0.2441, allocations: 0.9707 MB / 0.7899 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.2441, allocations: 12.03 kB / 0.7899 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.2442, allocations: 46.73 kB / 0.7899 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000501/0.2447, allocations: 123.8 kB / 0.7901 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007265/0.2454, allocations: 0.5856 MB / 0.7906 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.2455, allocations: 12.38 kB / 0.7906 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.2455, allocations: 8.375 kB / 0.7907 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.2459, allocations: 198.1 kB / 0.7908 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2459, allocations: 7.938 kB / 0.7909 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.2459, allocations: 4 kB / 0.7909 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2459, allocations: 7.938 kB / 0.7909 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.2464, allocations: 223.9 kB / 0.7911 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.2474, allocations: 0.91 MB / 0.792 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/0.2481, allocations: 322.3 kB / 0.7923 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.2483, allocations: 116.9 kB / 0.7924 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006932/0.249, allocations: 233 kB / 0.7926 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.249, allocations: 30.56 kB / 0.7926 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.249, allocations: 7.938 kB / 0.7926 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0007749/0.2498, allocations: 404.5 kB / 0.793 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.2499, allocations: 51.41 kB / 0.7931 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.251, allocations: 0.9974 MB / 0.7941 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.251, allocations: 29.7 kB / 0.7941 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.2513, allocations: 344 kB / 0.7944 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.2513, allocations: 27.56 kB / 0.7944 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.2514, allocations: 25.7 kB / 0.7945 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2515, allocations: 314 kB / 0.7948 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2517, allocations: 103.9 kB / 0.7949 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.252, allocations: 114.5 kB / 0.795 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.2524, allocations: 222.5 kB / 0.7952 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2524, allocations: 0 / 0.7952 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005358/0.253, allocations: 320.9 kB / 0.7955 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.253, allocations: 7.984 kB / 0.7955 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.253, allocations: 4.094 kB / 0.7955 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.253, allocations: 3.938 kB / 0.7955 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.2532, allocations: 23.98 kB / 0.7955 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2532, allocations: 0 / 0.7955 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.2534, allocations: 15.89 kB / 0.7955 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.2534, allocations: 4 kB / 0.7955 GB, free: 0.7344 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002336/0.2536, allocations: 250.4 kB / 0.7958 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.2537, allocations: 78.98 kB / 0.7959 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005872/0.2543, allocations: 332.4 kB / 0.7962 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2543, allocations: 4 kB / 0.7962 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2543, allocations: 0 / 0.7962 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2544, allocations: 0 / 0.7962 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.2549, allocations: 0.5362 MB / 0.7967 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2549, allocations: 4 kB / 0.7967 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.255, allocations: 19.98 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.255, allocations: 4 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2551, allocations: 4 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2551, allocations: 0 / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2551, allocations: 0 / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.2556, allocations: 406.4 kB / 0.7971 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.2558, allocations: 180.1 kB / 0.7973 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.2558, allocations: 4 kB / 0.7973 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.256, allocations: 7.984 kB / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.2561, allocations: 4 kB / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.2561, allocations: 3.984 kB / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007976/0.2569, allocations: 0.7254 MB / 0.798 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2569, allocations: 0 / 0.798 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003599/0.2572, allocations: 67.84 kB / 0.7981 GB, free: 14.03 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009164/0.2582, allocations: 0.9614 MB / 0.799 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005047/0.2587, allocations: 215.8 kB / 0.7992 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2587, allocations: 128 / 0.7992 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.2589, allocations: 108 kB / 0.7993 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.2594, allocations: 51.3 kB / 0.7994 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007561/0.2669, allocations: 6.358 MB / 0.8056 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.2676, allocations: 0.9451 MB / 0.8065 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.2678, allocations: 81.31 kB / 0.8066 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.268, allocations: 215.4 kB / 0.8068 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.268, allocations: 480 / 0.8068 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.2993, allocations: 11.62 MB / 0.8181 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.966/9.266, allocations: 19.69 kB / 0.8182 GB, free: 9.48 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)