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.001528/0.001528, 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.001727/0.001727, allocations: 187.9 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.271/1.271, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.614/1.614, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.0014/0.0014, allocations: 70.53 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1982, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002557/0.2008, allocations: 1.531 MB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001075/0.2009, allocations: 35.84 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.201, allocations: 0 / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.2011, allocations: 19.8 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.997e-05/0.2012, allocations: 3.938 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.2013, allocations: 23.97 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.011e-05/0.2014, allocations: 39.91 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.2015, allocations: 28.27 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.2015, allocations: 23.92 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.999e-05/0.2016, allocations: 31.84 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2016, allocations: 4 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.2016, allocations: 4 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.2017, allocations: 19.92 kB / 0.7854 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.2017, allocations: 23.86 kB / 0.7854 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.636e-05/0.2018, allocations: 59.64 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2018, allocations: 0 / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2018, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2019, allocations: 0 / 0.7854 GB, free: 11.43 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.0003595/0.2022, allocations: 367.3 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2023, allocations: 12.03 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.2023, allocations: 42.67 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.2023, allocations: 8.844 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.2025, allocations: 192.1 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.2025, allocations: 4.375 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.2025, allocations: 8.375 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.2027, allocations: 104.8 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2027, allocations: 3.938 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.2027, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2027, allocations: 4 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/0.2028, allocations: 43.91 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.2033, allocations: 0.6362 MB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.2e-05/0.2034, allocations: 169.1 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.2034, allocations: 88.02 kB / 0.7871 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.2035, allocations: 75.28 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.2035, allocations: 109.8 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2035, allocations: 0 / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.81e-05/0.2036, allocations: 37.55 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.2036, allocations: 126.7 kB / 0.7874 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.2038, allocations: 165.3 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.2038, allocations: 29.7 kB / 0.7876 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.2039, allocations: 107.9 kB / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.2039, allocations: 4 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.2039, allocations: 17.72 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.204, allocations: 314.8 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.204, allocations: 8 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.204, allocations: 26.5 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.2041, allocations: 26.58 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2041, allocations: 0 / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001075/0.2042, allocations: 53.55 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2042, allocations: 8 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2042, allocations: 4.031 kB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2043, allocations: 3.984 kB / 0.7881 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.2043, allocations: 11.92 kB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.2043, allocations: 8.078 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.2044, allocations: 11.94 kB / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.2044, allocations: 4 kB / 0.7882 GB, free: 8.363 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 8.473e-05/0.2045, allocations: 185.1 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.2045, allocations: 116.9 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.2046, allocations: 120.5 kB / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.053e-05/0.2046, allocations: 181.4 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.104e-05/0.2047, allocations: 184.2 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.976e-05/0.2048, allocations: 188.2 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.205, allocations: 421.1 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/0.205, allocations: 104.9 kB / 0.7896 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.205, allocations: 105 kB / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.258e-05/0.2051, allocations: 188.2 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.2051, allocations: 180.2 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.973e-05/0.2052, allocations: 176.3 kB / 0.7902 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.627e-05/0.2053, allocations: 188.4 kB / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.2054, allocations: 319.7 kB / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.2055, allocations: 194 kB / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/0.2055, allocations: 184.2 kB / 0.7911 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.2056, allocations: 104.9 kB / 0.7912 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.2057, allocations: 176.3 kB / 0.7913 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.2057, allocations: 112.9 kB / 0.7914 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.938e-05/0.2058, allocations: 129.7 kB / 0.7916 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2058, allocations: 0 / 0.7916 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002042/0.206, allocations: 8 kB / 0.7916 GB, free: 4.648 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.0003521/0.2064, allocations: 0.8125 MB / 0.7924 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.252e-05/0.2064, allocations: 19.94 kB / 0.7924 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2065, allocations: 0 / 0.7924 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.2065, allocations: 0 / 0.7924 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2068, allocations: 459.7 kB / 0.7928 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.2081, allocations: 1.637 MB / 0.7944 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.2083, allocations: 0.6885 MB / 0.7951 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.2083, allocations: 7.984 kB / 0.7951 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.2084, allocations: 23.44 kB / 0.7951 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.2084, allocations: 0 / 0.7951 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.2245, allocations: 1.681 MB / 0.7968 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/7.156, allocations: 4 kB / 0.7968 GB, free: 15.29 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)