Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.469/1.469, allocations: 287.4 MB / 302.6 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 182 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007515/0.0007517, allocations: 101.5 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004309, allocations: 11.03 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1921, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001792/0.194, allocations: 1.663 MB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003259/0.1973, allocations: 3.448 MB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1974, allocations: 0 / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.1976, allocations: 47.73 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.1978, allocations: 91.41 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1981, allocations: 103.8 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1983, allocations: 223.1 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.1984, allocations: 44.39 kB / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1986, allocations: 95.61 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1987, allocations: 103.5 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1987, allocations: 8 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.1989, allocations: 103.8 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.1989, allocations: 35.83 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.1989, allocations: 61.58 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1991, allocations: 187.5 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1991, allocations: 4 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1991, allocations: 0 / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.1991, allocations: 0 / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000847/0.2, allocations: 0.5748 MB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2, allocations: 8.031 kB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.2001, allocations: 38.75 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.2001, allocations: 32.64 kB / 0.9854 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.2005, allocations: 271.5 kB / 0.9857 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2005, allocations: 12.38 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.2005, allocations: 8.375 kB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.2009, allocations: 193.5 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2009, allocations: 0 / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.201, allocations: 4 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.201, allocations: 4 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005948/0.2016, allocations: 235.8 kB / 0.9861 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.2022, allocations: 488.4 kB / 0.9866 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.2026, allocations: 154.4 kB / 0.9867 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.2029, allocations: 132.8 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/0.2036, allocations: 0.5728 MB / 0.9874 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.2036, allocations: 30.56 kB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.2036, allocations: 0 / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.00103/0.2046, allocations: 421.1 kB / 0.9879 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.2046, allocations: 55.56 kB / 0.9879 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.2048, allocations: 234.7 kB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2048, allocations: 29.64 kB / 0.9882 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.2049, allocations: 140 kB / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.2049, allocations: 35.45 kB / 0.9883 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.2049, allocations: 4 kB / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.205, allocations: 330.8 kB / 0.9886 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.2053, allocations: 115.9 kB / 0.9888 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.2056, allocations: 116.3 kB / 0.9889 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005791/0.2062, allocations: 244.8 kB / 0.9891 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2062, allocations: 4 kB / 0.9891 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006513/0.2068, allocations: 301.2 kB / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.2069, allocations: 4 kB / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2069, allocations: 4 kB / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2069, allocations: 7.938 kB / 0.9894 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.2072, allocations: 55.88 kB / 0.9895 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2072, allocations: 7.938 kB / 0.9895 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2074, allocations: 47.81 kB / 0.9895 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.2074, allocations: 3.984 kB / 0.9895 GB, free: 16.66 MB / 0.6198 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.465e-05/0.2075, allocations: 125.8 kB / 0.9896 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.2075, allocations: 19.81 kB / 0.9897 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007218/0.2082, allocations: 323.1 kB / 0.99 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.2083, allocations: 7.938 kB / 0.99 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2083, allocations: 3.938 kB / 0.99 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2083, allocations: 0 / 0.99 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.2085, allocations: 273.4 kB / 0.9902 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2085, allocations: 0 / 0.9902 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.2088, allocations: 55.95 kB / 0.9903 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2088, allocations: 0 / 0.9903 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2088, allocations: 7.984 kB / 0.9903 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2088, allocations: 0 / 0.9903 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2088, allocations: 7.938 kB / 0.9903 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006598/0.2095, allocations: 395 kB / 0.9907 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.2095, allocations: 120.7 kB / 0.9908 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.2096, allocations: 8 kB / 0.9908 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.2098, allocations: 35.95 kB / 0.9908 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.2099, allocations: 15.92 kB / 0.9909 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2099, allocations: 11.98 kB / 0.9909 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.83e-05/0.21, allocations: 166 kB / 0.991 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.21, allocations: 0 / 0.991 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002461/0.2102, allocations: 59.94 kB / 0.9911 GB, free: 14.96 MB / 0.6198 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009001/0.2111, allocations: 0.958 MB / 0.992 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00066/0.2118, allocations: 260.2 kB / 0.9923 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2118, allocations: 0 / 0.9923 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.2122, allocations: 143.8 kB / 0.9924 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.2125, allocations: 32.34 kB / 0.9924 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.2146, allocations: 1.488 MB / 0.9939 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.2148, allocations: 0.7352 MB / 0.9946 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001637/0.2149, allocations: 32.86 kB / 0.9946 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/0.215, allocations: 67.41 kB / 0.9947 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.215, allocations: 0 / 0.9947 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5196/0.7347, allocations: 4.381 MB / 0.999 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/0.735, allocations: 217.3 kB / 0.9992 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.267, allocations: 0 / 0.9992 GB, free: 6.719 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)