Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",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.001772/0.001771, allocations: 108 kB / 15.61 MB, free: 152 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.002218/0.002218, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.474/1.474, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.708/1.708, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001536/0.001536, allocations: 71.66 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1994, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004292/0.2037, allocations: 2.758 MB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.2056, allocations: 1.094 MB / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.2058, allocations: 4 kB / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.2064, allocations: 227 kB / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.2066, allocations: 79.25 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.207, allocations: 187.7 kB / 0.7877 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.2074, allocations: 411.8 kB / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.2077, allocations: 221.8 kB / 0.7883 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.2078, allocations: 155.2 kB / 0.7885 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.208, allocations: 186.9 kB / 0.7887 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.2081, allocations: 43.98 kB / 0.7887 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.2084, allocations: 175.8 kB / 0.7889 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.2086, allocations: 259.2 kB / 0.7891 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.2088, allocations: 353.6 kB / 0.7894 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007735/0.2096, allocations: 0.9534 MB / 0.7904 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2096, allocations: 0 / 0.7904 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2096, allocations: 0 / 0.7904 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.2096, allocations: 4 kB / 0.7904 GB, free: 6.277 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001328/0.211, allocations: 1.146 MB / 0.7915 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.211, allocations: 15.97 kB / 0.7915 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.816e-05/0.2111, allocations: 66.72 kB / 0.7916 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.2124, allocations: 235.5 kB / 0.7918 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.2137, allocations: 0.7464 MB / 0.7925 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.2138, allocations: 21.03 kB / 0.7926 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.2138, allocations: 32.38 kB / 0.7926 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007953/0.2146, allocations: 386.3 kB / 0.793 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2147, allocations: 0 / 0.793 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.2147, allocations: 12 kB / 0.793 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2147, allocations: 8 kB / 0.793 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.2158, allocations: 422.4 kB / 0.7934 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.2189, allocations: 1.799 MB / 0.7951 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.2196, allocations: 230.5 kB / 0.7954 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.2199, allocations: 92.81 kB / 0.7954 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.22, allocations: 8 kB / 0.7954 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.22, allocations: 38.56 kB / 0.7955 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 2.455e-06/0.22, allocations: 0 / 0.7955 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001095/0.2211, allocations: 384.2 kB / 0.7959 GB, free: 440 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2212, allocations: 55.41 kB / 0.7959 GB, free: 372 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.2226, allocations: 1.267 MB / 0.7971 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.2227, allocations: 25.7 kB / 0.7972 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.223, allocations: 436.6 kB / 0.7976 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.2231, allocations: 67 kB / 0.7976 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.494e-05/0.2232, allocations: 53.69 kB / 0.7977 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2233, allocations: 314 kB / 0.798 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.2237, allocations: 151.9 kB / 0.7981 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.2241, allocations: 205.9 kB / 0.7983 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.2247, allocations: 283.8 kB / 0.7986 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2248, allocations: 0 / 0.7986 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00092/0.2257, allocations: 470.6 kB / 0.7991 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2257, allocations: 12.16 kB / 0.7991 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.2257, allocations: 7.922 kB / 0.7991 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2258, allocations: 7.984 kB / 0.7991 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.2261, allocations: 51.91 kB / 0.7991 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.2261, allocations: 4 kB / 0.7991 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.2264, allocations: 39.67 kB / 0.7992 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.2264, allocations: 15.98 kB / 0.7992 GB, free: 12.91 MB / 0.6231 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 (opeModWarUpEngTem.temChe.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003147/0.2268, allocations: 269.7 kB / 0.7994 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2269, allocations: 86.88 kB / 0.7995 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/0.2278, allocations: 328.3 kB / 0.7998 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2278, allocations: 4 kB / 0.7998 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2278, allocations: 3.984 kB / 0.7999 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2278, allocations: 3.984 kB / 0.7999 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.2295, allocations: 1.011 MB / 0.8008 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2295, allocations: 4 kB / 0.8008 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.2298, allocations: 55.78 kB / 0.8009 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.2298, allocations: 4 kB / 0.8009 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.2299, allocations: 3.984 kB / 0.8009 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2299, allocations: 8.125 kB / 0.8009 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2299, allocations: 4 kB / 0.8009 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007845/0.2307, allocations: 435.7 kB / 0.8013 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.2309, allocations: 215.9 kB / 0.8015 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.299e-05/0.231, allocations: 8 kB / 0.8015 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.2313, allocations: 11.98 kB / 0.8016 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.2314, allocations: 23.91 kB / 0.8016 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.2314, allocations: 8 kB / 0.8016 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001037/0.2324, allocations: 0.9111 MB / 0.8025 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2324, allocations: 4 kB / 0.8025 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004308/0.2329, allocations: 107.8 kB / 0.8026 GB, free: 9.277 MB / 0.6231 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 (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.001142/0.234, allocations: 0.9957 MB / 0.8036 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007726/0.2348, allocations: 291.7 kB / 0.8038 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2348, allocations: 0 / 0.8038 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.2351, allocations: 104.5 kB / 0.8039 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.2356, allocations: 76.14 kB / 0.804 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009858/0.2455, allocations: 7.685 MB / 0.8115 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.2461, allocations: 0.9996 MB / 0.8125 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003479/0.2464, allocations: 108.6 kB / 0.8126 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.2468, allocations: 291.3 kB / 0.8129 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.2468, allocations: 0 / 0.8129 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.2793, allocations: 13.63 MB / 0.8262 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.225, allocations: 15.28 kB / 0.8262 GB, free: 0.918 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)