Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.001142/0.001142, 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.001205/0.001205, allocations: 194.1 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.492/1.492, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.772/1.772, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001603/0.001603, allocations: 65.75 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.225, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00286/0.2279, allocations: 1.549 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.228, allocations: 31.84 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.2281, allocations: 0 / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2282, allocations: 11.92 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.473e-05/0.2283, allocations: 7.938 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.2284, allocations: 15.92 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.214e-05/0.2285, allocations: 43.91 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.2286, allocations: 32.27 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.2287, allocations: 27.91 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.276e-05/0.2287, allocations: 27.84 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.2288, allocations: 4 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.2288, allocations: 4 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.2288, allocations: 23.92 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.2289, allocations: 23.88 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.978e-05/0.229, allocations: 55.73 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.229, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.229, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.229, allocations: 0 / 0.7853 GB, free: 11.52 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000376/0.2294, allocations: 371.2 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2294, allocations: 12.03 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.2295, allocations: 34.75 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.2295, allocations: 8.844 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.2297, allocations: 200.1 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.2297, allocations: 4.375 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.2297, allocations: 8.375 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.2299, allocations: 92.81 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2299, allocations: 3.938 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.2299, allocations: 0 / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2299, allocations: 7.938 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/0.23, allocations: 39.97 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.2306, allocations: 0.644 MB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/0.2307, allocations: 173.1 kB / 0.7868 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.2307, allocations: 80.14 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.2308, allocations: 75.28 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.2308, allocations: 109.8 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2308, allocations: 0 / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.826e-05/0.2309, allocations: 37.55 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.231, allocations: 134.6 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.2311, allocations: 169.5 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2312, allocations: 29.7 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.2312, allocations: 103.9 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.2312, allocations: 0 / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.2313, allocations: 17.72 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2314, allocations: 318.8 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.2314, allocations: 7.938 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-05/0.2314, allocations: 26.58 kB / 0.7879 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.536e-05/0.2315, allocations: 22.52 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2315, allocations: 0 / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001221/0.2316, allocations: 65.53 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2316, allocations: 12.09 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2317, allocations: 3.938 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2317, allocations: 0 / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.2317, allocations: 4 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.2317, allocations: 4 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.2318, allocations: 3.938 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.2318, allocations: 4 kB / 0.788 GB, free: 8.461 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 (3): * Single equations (assignments): 3 * 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 9.51e-05/0.2319, allocations: 193.1 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.232, allocations: 116.8 kB / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.232, allocations: 116.8 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.989e-05/0.2321, allocations: 185.4 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-05/0.2322, allocations: 180.2 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.679e-05/0.2322, allocations: 180.3 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.2325, allocations: 429.1 kB / 0.7893 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-05/0.2325, allocations: 101 kB / 0.7894 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.2326, allocations: 104.9 kB / 0.7895 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.949e-05/0.2326, allocations: 184.2 kB / 0.7897 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.2327, allocations: 180.2 kB / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-05/0.2328, allocations: 188.2 kB / 0.7901 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.835e-05/0.2329, allocations: 180.5 kB / 0.7902 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.233, allocations: 315.7 kB / 0.7905 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.2331, allocations: 190 kB / 0.7907 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.2332, allocations: 184.1 kB / 0.7909 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.2333, allocations: 101 kB / 0.791 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.2333, allocations: 184.2 kB / 0.7912 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.2334, allocations: 117 kB / 0.7913 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.677e-05/0.2335, allocations: 121.5 kB / 0.7914 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2335, allocations: 0 / 0.7914 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002361/0.2337, allocations: 8 kB / 0.7914 GB, free: 4.754 MB / 0.6075 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 (0): * Single equations (assignments): 0 * 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.0004305/0.2342, allocations: 0.8203 MB / 0.7922 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.376e-05/0.2343, allocations: 12 kB / 0.7922 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2343, allocations: 3.938 kB / 0.7922 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.2343, allocations: 0 / 0.7922 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.2346, allocations: 464.8 kB / 0.7927 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.236, allocations: 1.636 MB / 0.7942 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.2363, allocations: 0.6885 MB / 0.7949 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.2363, allocations: 11.77 kB / 0.7949 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.2364, allocations: 19.44 kB / 0.795 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2364, allocations: 0 / 0.795 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.253, allocations: 1.661 MB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/7.578, allocations: 7.812 kB / 0.7966 GB, free: 15.38 MB / 0.6231 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)