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.0009248/0.0009248, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004905/0.004905, allocations: 170.4 kB / 16.27 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.264/1.264, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.584/1.584, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005365/0.0005365, allocations: 18.34 kB / 0.6744 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1766, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001398/0.178, allocations: 1.249 MB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 8.554e-05/0.1781, allocations: 35.84 kB / 0.7893 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.1782, allocations: 0 / 0.7893 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.548e-05/0.1783, allocations: 15.86 kB / 0.7893 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.037e-05/0.1783, allocations: 7.938 kB / 0.7893 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.986e-05/0.1784, allocations: 19.92 kB / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.1785, allocations: 47.89 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.1786, allocations: 24.27 kB / 0.7894 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.1786, allocations: 15.92 kB / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.1787, allocations: 23.86 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1787, allocations: 0 / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-06/0.1787, allocations: 4 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.1787, allocations: 15.92 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1788, allocations: 45.58 kB / 0.7895 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.296e-05/0.1789, allocations: 47.73 kB / 0.7895 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1789, allocations: 7.984 kB / 0.7895 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1789, allocations: 0 / 0.7895 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.1789, allocations: 0 / 0.7895 GB, free: 9.934 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.0002788/0.1792, allocations: 359.2 kB / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1792, allocations: 12.03 kB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.1792, allocations: 38.73 kB / 0.7899 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.1793, allocations: 8.844 kB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1794, allocations: 176.3 kB / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1794, allocations: 8.375 kB / 0.7901 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.1794, allocations: 4.375 kB / 0.7901 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1796, allocations: 107.5 kB / 0.7902 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1796, allocations: 7.938 kB / 0.7902 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1796, allocations: 3.984 kB / 0.7902 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1796, allocations: 4 kB / 0.7902 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.1797, allocations: 39.97 kB / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.1802, allocations: 0.6478 MB / 0.7909 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.552e-05/0.1802, allocations: 169.1 kB / 0.791 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.1803, allocations: 81.2 kB / 0.7911 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1803, allocations: 75.28 kB / 0.7912 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1803, allocations: 109.8 kB / 0.7913 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.1803, allocations: 0 / 0.7913 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.758e-05/0.1804, allocations: 41.48 kB / 0.7913 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1804, allocations: 126.7 kB / 0.7915 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1806, allocations: 162.5 kB / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.1806, allocations: 29.7 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.1806, allocations: 104 kB / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/0.1807, allocations: 0 / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.1807, allocations: 13.72 kB / 0.7918 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.1808, allocations: 322.8 kB / 0.7921 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.1808, allocations: 4 kB / 0.7921 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.1808, allocations: 18.58 kB / 0.7921 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.1809, allocations: 38.5 kB / 0.7921 GB, free: 7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1809, allocations: 7.875 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001059/0.181, allocations: 53.55 kB / 0.7922 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.181, allocations: 4 kB / 0.7922 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.181, allocations: 3.938 kB / 0.7922 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.181, allocations: 4 kB / 0.7922 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.769e-05/0.1811, allocations: 7.984 kB / 0.7922 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1811, allocations: 0 / 0.7922 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.1811, allocations: 15.84 kB / 0.7922 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.1811, allocations: 96 / 0.7922 GB, free: 6.898 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 7.569e-05/0.1812, allocations: 197.1 kB / 0.7924 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.1813, allocations: 108.9 kB / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.1813, allocations: 120.8 kB / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.229e-05/0.1814, allocations: 180.2 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.673e-05/0.1814, allocations: 180.3 kB / 0.793 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.413e-05/0.1815, allocations: 184.2 kB / 0.7931 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.1817, allocations: 429.2 kB / 0.7935 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/0.1817, allocations: 105.1 kB / 0.7937 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.1817, allocations: 108.9 kB / 0.7938 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.423e-05/0.1818, allocations: 180.2 kB / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.1818, allocations: 188.1 kB / 0.7941 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.337e-05/0.1819, allocations: 180.3 kB / 0.7943 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-05/0.1819, allocations: 176.3 kB / 0.7944 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.991e-05/0.182, allocations: 311.7 kB / 0.7947 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.1821, allocations: 193.9 kB / 0.7949 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.1822, allocations: 184.2 kB / 0.7951 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.1822, allocations: 109 kB / 0.7952 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.1823, allocations: 180.2 kB / 0.7954 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.1823, allocations: 101 kB / 0.7955 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.033e-05/0.1824, allocations: 129.7 kB / 0.7956 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1824, allocations: 0 / 0.7956 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002026/0.1826, allocations: 4 kB / 0.7956 GB, free: 3.199 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.0003016/0.1829, allocations: 0.8203 MB / 0.7964 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.247e-05/0.183, allocations: 8 kB / 0.7964 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.183, allocations: 192 / 0.7964 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.183, allocations: 7.938 kB / 0.7964 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1833, allocations: 0.5303 MB / 0.7969 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1845, allocations: 1.646 MB / 0.7985 GB, free: 60 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.1847, allocations: 0.6926 MB / 0.7992 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.1847, allocations: 7.781 kB / 0.7992 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.1847, allocations: 27.42 kB / 0.7993 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.1847, allocations: 4 kB / 0.7993 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.36/1.545, allocations: 1.48 MB / 0.8007 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/1.545, allocations: 215 kB / 0.8009 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/3.109, allocations: 3.938 kB / 0.8009 GB, free: 13.71 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)