Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001256/0.001256, allocations: 108 kB / 15.6 MB, free: 132 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.001201/0.001201, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.197/1.197, 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.553/1.553, 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.001501/0.001501, allocations: 68.5 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1929, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003017/0.1959, allocations: 1.908 MB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003888/0.1998, allocations: 3.446 MB / 0.7887 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.2, allocations: 0 / 0.7887 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.2002, allocations: 55.62 kB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004969/0.2008, allocations: 127.3 kB / 0.7889 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.201e-05/0.2009, allocations: 23.97 kB / 0.7889 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.2011, allocations: 167.2 kB / 0.7891 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.2012, allocations: 29.67 kB / 0.7891 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.2014, allocations: 87.62 kB / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.2016, allocations: 67.7 kB / 0.7892 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.2016, allocations: 12 kB / 0.7893 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.515e-05/0.2017, allocations: 39.89 kB / 0.7893 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.2018, allocations: 31.84 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.634e-05/0.2019, allocations: 71.55 kB / 0.7894 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.2021, allocations: 171.2 kB / 0.7896 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2022, allocations: 0 / 0.7896 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2022, allocations: 0 / 0.7896 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.2022, allocations: 3.938 kB / 0.7896 GB, free: 7.098 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008525/0.203, allocations: 0.4983 MB / 0.79 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2031, allocations: 12.03 kB / 0.7901 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.2031, allocations: 34.75 kB / 0.7901 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.2032, allocations: 24.73 kB / 0.7901 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.2035, allocations: 242.8 kB / 0.7903 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2036, allocations: 4.359 kB / 0.7903 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.2036, allocations: 12.31 kB / 0.7904 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.2039, allocations: 133.5 kB / 0.7905 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.204, allocations: 3.938 kB / 0.7905 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.204, allocations: 4 kB / 0.7905 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.204, allocations: 15.98 kB / 0.7905 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.2044, allocations: 127.9 kB / 0.7906 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.2051, allocations: 448.5 kB / 0.7911 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.2055, allocations: 158.5 kB / 0.7912 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.2058, allocations: 108.8 kB / 0.7913 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.2058, allocations: 4 kB / 0.7913 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.2058, allocations: 30.56 kB / 0.7913 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.2059, allocations: 4 kB / 0.7914 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007971/0.2067, allocations: 281.6 kB / 0.7916 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2067, allocations: 55.39 kB / 0.7917 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.2069, allocations: 209 kB / 0.7919 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2069, allocations: 25.7 kB / 0.7919 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.207, allocations: 124.1 kB / 0.792 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.207, allocations: 51.34 kB / 0.7921 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.2071, allocations: 29.7 kB / 0.7921 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2072, allocations: 334.8 kB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.2075, allocations: 71.94 kB / 0.7925 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.2077, allocations: 68.94 kB / 0.7925 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.2081, allocations: 155.4 kB / 0.7927 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2081, allocations: 0 / 0.7927 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005095/0.2086, allocations: 213.3 kB / 0.7929 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2087, allocations: 8 kB / 0.7929 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2087, allocations: 0 / 0.7929 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2087, allocations: 0 / 0.7929 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.2089, allocations: 31.97 kB / 0.7929 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.209, allocations: 3.984 kB / 0.7929 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.2091, allocations: 19.89 kB / 0.793 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.2091, allocations: 11.94 kB / 0.793 GB, free: 3.371 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.803e-05/0.2092, allocations: 133.7 kB / 0.7931 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.2093, allocations: 15.81 kB / 0.7931 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.2094, allocations: 25.84 kB / 0.7931 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2094, allocations: 7.922 kB / 0.7931 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2094, allocations: 0 / 0.7931 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2094, allocations: 0 / 0.7931 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.2096, allocations: 265.3 kB / 0.7934 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2096, allocations: 0 / 0.7934 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.2099, allocations: 43.95 kB / 0.7934 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2099, allocations: 0 / 0.7934 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2099, allocations: 0 / 0.7934 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2099, allocations: 0 / 0.7934 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2099, allocations: 0 / 0.7934 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.2104, allocations: 315.1 kB / 0.7937 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.2105, allocations: 108.8 kB / 0.7938 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.2106, allocations: 0 / 0.7938 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.2108, allocations: 15.98 kB / 0.7939 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.2108, allocations: 7.984 kB / 0.7939 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.2108, allocations: 11.98 kB / 0.7939 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001201/0.211, allocations: 160.4 kB / 0.794 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.211, allocations: 0 / 0.794 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000265/0.2112, allocations: 35.94 kB / 0.7941 GB, free: 2.152 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 (13): * Single equations (assignments): 13 * 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.0008269/0.2121, allocations: 0.8522 MB / 0.7949 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004964/0.2126, allocations: 175.8 kB / 0.7951 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2126, allocations: 0 / 0.7951 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.2128, allocations: 91.94 kB / 0.7952 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.2132, allocations: 24.66 kB / 0.7952 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.2162, allocations: 2.256 MB / 0.7974 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.2164, allocations: 0.7236 MB / 0.7981 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.2166, allocations: 48.59 kB / 0.7981 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/0.2167, allocations: 51.41 kB / 0.7982 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.2167, allocations: 8 kB / 0.7982 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.696/2.913, allocations: 3.705 MB / 0.8018 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/16.02, allocations: 19.09 kB / 0.8018 GB, free: 10.23 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)