Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001155/0.001155, 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.001206/0.001206, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.199/1.199, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.581/1.581, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001532/0.001532, allocations: 72.78 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1828, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002922/0.1858, allocations: 2.14 MB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003778/0.1896, allocations: 3.784 MB / 0.7893 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.351e-05/0.1897, allocations: 4 kB / 0.7893 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.1899, allocations: 55.5 kB / 0.7893 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.1902, allocations: 123.2 kB / 0.7894 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1905, allocations: 151.6 kB / 0.7896 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.1908, allocations: 314.9 kB / 0.7899 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.191, allocations: 60.69 kB / 0.7899 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.1912, allocations: 131.5 kB / 0.7901 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1913, allocations: 143.4 kB / 0.7902 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.1914, allocations: 20 kB / 0.7902 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.1916, allocations: 135.8 kB / 0.7904 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.1917, allocations: 59.77 kB / 0.7904 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1918, allocations: 123.3 kB / 0.7905 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.1921, allocations: 334.9 kB / 0.7908 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1921, allocations: 0 / 0.7908 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.374e-06/0.1921, allocations: 0 / 0.7908 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1921, allocations: 3.938 kB / 0.7908 GB, free: 5.762 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001164/0.1933, allocations: 0.6386 MB / 0.7915 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1933, allocations: 8.031 kB / 0.7915 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.1934, allocations: 42.75 kB / 0.7915 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000913/0.1943, allocations: 164.4 kB / 0.7917 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006468/0.195, allocations: 328.3 kB / 0.792 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.195, allocations: 12.31 kB / 0.792 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.195, allocations: 12 kB / 0.792 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.1956, allocations: 227.8 kB / 0.7922 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1957, allocations: 0 / 0.7922 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.1957, allocations: 3.938 kB / 0.7922 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.1957, allocations: 4 kB / 0.7922 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000965/0.1967, allocations: 283.7 kB / 0.7925 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.1978, allocations: 0.5861 MB / 0.7931 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.1984, allocations: 170.4 kB / 0.7932 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.1989, allocations: 156.7 kB / 0.7934 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000768/0.1997, allocations: 0.5493 MB / 0.7939 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.1997, allocations: 38.56 kB / 0.794 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.1997, allocations: 0 / 0.794 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001602/0.2013, allocations: 488.5 kB / 0.7944 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.2014, allocations: 59.41 kB / 0.7945 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.2016, allocations: 268.5 kB / 0.7947 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.2016, allocations: 29.7 kB / 0.7948 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.2017, allocations: 144 kB / 0.7949 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.2017, allocations: 51.28 kB / 0.795 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/0.2018, allocations: 37.69 kB / 0.795 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2019, allocations: 338.8 kB / 0.7953 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/0.2025, allocations: 147.9 kB / 0.7955 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.203, allocations: 148.6 kB / 0.7956 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/0.204, allocations: 291.4 kB / 0.7959 GB, free: 280 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.204, allocations: 0 / 0.7959 GB, free: 280 kB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001145/0.2051, allocations: 369.1 kB / 0.7962 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2051, allocations: 8 kB / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2052, allocations: 0 / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2052, allocations: 0 / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.2056, allocations: 67.92 kB / 0.7963 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2056, allocations: 3.938 kB / 0.7963 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.206, allocations: 51.72 kB / 0.7964 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.206, allocations: 12 kB / 0.7964 GB, free: 15.76 MB / 0.6231 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 (17): * Single equations (assignments): 17 * 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.0001247/0.2061, allocations: 125.8 kB / 0.7965 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.2062, allocations: 27.62 kB / 0.7965 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.2074, allocations: 375.3 kB / 0.7969 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.2074, allocations: 7.938 kB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2074, allocations: 0 / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2074, allocations: 7.922 kB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.2077, allocations: 301.4 kB / 0.7972 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2077, allocations: 0 / 0.7972 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.2081, allocations: 59.92 kB / 0.7972 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2081, allocations: 4 kB / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.2082, allocations: 7.984 kB / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2082, allocations: 0 / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2082, allocations: 0 / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.2093, allocations: 450.7 kB / 0.7977 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.2094, allocations: 124.7 kB / 0.7978 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.2095, allocations: 8 kB / 0.7978 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.2098, allocations: 35.95 kB / 0.7978 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.2099, allocations: 23.91 kB / 0.7979 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.2099, allocations: 4 kB / 0.7979 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001475/0.2101, allocations: 191.1 kB / 0.798 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2101, allocations: 0 / 0.798 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003257/0.2104, allocations: 64 kB / 0.7981 GB, free: 13.88 MB / 0.6231 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.00141/0.2118, allocations: 1.013 MB / 0.7991 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.2129, allocations: 326.3 kB / 0.7994 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.213, allocations: 4 kB / 0.7994 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.2135, allocations: 159.8 kB / 0.7996 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.2139, allocations: 43.22 kB / 0.7996 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/0.2188, allocations: 2.898 MB / 0.8024 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2191, allocations: 0.7435 MB / 0.8032 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.2193, allocations: 45.39 kB / 0.8032 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.2195, allocations: 79.39 kB / 0.8033 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/0.2195, allocations: 0 / 0.8033 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.741/3.961, allocations: 5.745 MB / 0.8089 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/18.41, allocations: 22.83 kB / 0.8089 GB, free: 2.859 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)