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.0009422/0.0009422, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 197.9 kB / 16.14 MB, free: 6.66 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.144/1.144, allocations: 205.1 MB / 222 MB, free: 4.75 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.604/1.604, allocations: 292.3 MB / 0.5484 GB, free: 13.61 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.001387/0.001387, allocations: 65.78 kB / 0.6709 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1927, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.0038/0.1965, allocations: 2.815 MB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1981, allocations: 1.083 MB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1982, allocations: 4 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005478/0.1988, allocations: 207.3 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.1989, allocations: 63.5 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.1993, allocations: 163.7 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.1997, allocations: 383.8 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.2, allocations: 213.7 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.2001, allocations: 135.2 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.2003, allocations: 186.9 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.2003, allocations: 20 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.2006, allocations: 147.8 kB / 0.7881 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.2008, allocations: 251.2 kB / 0.7883 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.2011, allocations: 337.6 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007098/0.2018, allocations: 0.93 MB / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2018, allocations: 0 / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2018, allocations: 4 kB / 0.7895 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.2018, allocations: 4 kB / 0.7895 GB, free: 6.965 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.001357/0.2032, allocations: 1.143 MB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2032, allocations: 8.031 kB / 0.7907 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.369e-05/0.2033, allocations: 70.72 kB / 0.7907 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.2046, allocations: 239.5 kB / 0.791 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.2059, allocations: 0.7308 MB / 0.7917 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2059, allocations: 21.03 kB / 0.7917 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.206, allocations: 36.38 kB / 0.7917 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000809/0.2068, allocations: 394.2 kB / 0.7921 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2068, allocations: 0 / 0.7921 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.2068, allocations: 8 kB / 0.7921 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2069, allocations: 8 kB / 0.7921 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.2079, allocations: 426.4 kB / 0.7925 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.2108, allocations: 1.799 MB / 0.7943 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.2115, allocations: 233.5 kB / 0.7945 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.2119, allocations: 100.8 kB / 0.7946 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.2119, allocations: 8.062 kB / 0.7946 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.2119, allocations: 34.56 kB / 0.7946 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.2119, allocations: 0 / 0.7946 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001062/0.213, allocations: 382.9 kB / 0.795 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.2131, allocations: 63.34 kB / 0.7951 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.2144, allocations: 1.263 MB / 0.7963 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.2145, allocations: 29.7 kB / 0.7963 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.2148, allocations: 432.3 kB / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.2148, allocations: 63.02 kB / 0.7968 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.2149, allocations: 53.69 kB / 0.7968 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.2151, allocations: 314 kB / 0.7971 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.2154, allocations: 155.9 kB / 0.7973 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.2158, allocations: 194.4 kB / 0.7975 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/0.2165, allocations: 283.9 kB / 0.7978 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2165, allocations: 7.938 kB / 0.7978 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008784/0.2174, allocations: 468.3 kB / 0.7982 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2174, allocations: 8 kB / 0.7982 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2174, allocations: 3.938 kB / 0.7982 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2174, allocations: 4 kB / 0.7982 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.2178, allocations: 59.89 kB / 0.7983 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2178, allocations: 3.938 kB / 0.7983 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.2181, allocations: 39.67 kB / 0.7983 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.2181, allocations: 15.98 kB / 0.7983 GB, free: 13.61 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.0002809/0.2184, allocations: 262.4 kB / 0.7986 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2185, allocations: 86.88 kB / 0.7987 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008763/0.2194, allocations: 337.8 kB / 0.799 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2194, allocations: 0 / 0.799 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2194, allocations: 0 / 0.799 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2194, allocations: 4 kB / 0.799 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.2211, allocations: 1.019 MB / 0.8 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2211, allocations: 0 / 0.8 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.2214, allocations: 39.97 kB / 0.8 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.2214, allocations: 4 kB / 0.8 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.2214, allocations: 12.19 kB / 0.8 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2215, allocations: 3.938 kB / 0.8 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.2215, allocations: 7.984 kB / 0.8001 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/0.2222, allocations: 439.8 kB / 0.8005 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.2225, allocations: 207.9 kB / 0.8007 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.301e-05/0.2225, allocations: 4 kB / 0.8007 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.2228, allocations: 19.98 kB / 0.8007 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.2229, allocations: 23.86 kB / 0.8007 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.2229, allocations: 11.98 kB / 0.8007 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001019/0.224, allocations: 0.9189 MB / 0.8016 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.224, allocations: 0 / 0.8016 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004233/0.2244, allocations: 99.75 kB / 0.8017 GB, free: 9.98 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.2255, allocations: 0.9919 MB / 0.8027 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000709/0.2263, allocations: 286.1 kB / 0.803 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2263, allocations: 0 / 0.803 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.2266, allocations: 112.5 kB / 0.8031 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.2271, allocations: 64.16 kB / 0.8031 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.2385, allocations: 7.897 MB / 0.8108 GB, free: 332 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.2391, allocations: 1.006 MB / 0.8118 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003808/0.2395, allocations: 104.7 kB / 0.8119 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.2399, allocations: 287.3 kB / 0.8122 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of SimCode: time 7.11e-07/0.2399, allocations: 0 / 0.8122 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.2652, allocations: 13.27 MB / 0.8252 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.2654, allocations: 223.9 kB / 0.8254 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.185, allocations: 0 / 0.8254 GB, free: 1.555 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)