Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 288.2 MB / 303.2 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.00139/0.001391, allocations: 186.7 kB / 371.8 MB, free: 10.29 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.506/1.506, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0008427/0.0008426, allocations: 93.22 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004092, allocations: 11.91 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1979, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001896/0.1998, allocations: 1.629 MB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.2029, allocations: 3.249 MB / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.2031, allocations: 0 / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.2033, allocations: 51.67 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.2035, allocations: 111.6 kB / 0.9844 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.2038, allocations: 91.77 kB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.204, allocations: 171.6 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2041, allocations: 36.55 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.2043, allocations: 91.67 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.2044, allocations: 103.6 kB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2044, allocations: 11.94 kB / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.2046, allocations: 95.84 kB / 0.985 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.2046, allocations: 43.81 kB / 0.985 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.2047, allocations: 57.58 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.2049, allocations: 179.6 kB / 0.9852 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.2049, allocations: 0 / 0.9852 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2049, allocations: 0 / 0.9852 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2049, allocations: 0 / 0.9852 GB, free: 21.69 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.0009491/0.2059, allocations: 0.5879 MB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2059, allocations: 8.031 kB / 0.9858 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.2059, allocations: 42.55 kB / 0.9859 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.206, allocations: 23.72 kB / 0.9859 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.2064, allocations: 262.4 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2064, allocations: 4 kB / 0.9861 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.2064, allocations: 11.98 kB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.2069, allocations: 191 kB / 0.9863 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2069, allocations: 4 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.2069, allocations: 3.938 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2069, allocations: 7.938 kB / 0.9864 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006312/0.2076, allocations: 235.8 kB / 0.9866 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007249/0.2083, allocations: 488.5 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.2087, allocations: 142.7 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007447/0.2094, allocations: 0.5805 MB / 0.9877 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.2095, allocations: 34.56 kB / 0.9878 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/0.2095, allocations: 0 / 0.9878 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.00109/0.2106, allocations: 425.2 kB / 0.9882 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.2106, allocations: 55.41 kB / 0.9882 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.2108, allocations: 222.7 kB / 0.9884 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2108, allocations: 33.7 kB / 0.9885 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.2109, allocations: 140 kB / 0.9886 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.2109, allocations: 35.45 kB / 0.9886 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.2109, allocations: 0 / 0.9886 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.211, allocations: 342.8 kB / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.2113, allocations: 111.9 kB / 0.9891 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.2116, allocations: 119.9 kB / 0.9892 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.2119, allocations: 115.9 kB / 0.9893 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.212, allocations: 0 / 0.9893 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006847/0.2126, allocations: 305.1 kB / 0.9896 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2127, allocations: 7.953 kB / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2127, allocations: 0 / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2127, allocations: 0 / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.213, allocations: 59.94 kB / 0.9897 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.213, allocations: 0 / 0.9897 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.2132, allocations: 43.95 kB / 0.9897 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.2133, allocations: 3.984 kB / 0.9897 GB, free: 16.78 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 8.567e-05/0.2134, allocations: 129.8 kB / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.2134, allocations: 23.72 kB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/0.2142, allocations: 323.8 kB / 0.9902 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2142, allocations: 4 kB / 0.9902 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2142, allocations: 0 / 0.9902 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2142, allocations: 4 kB / 0.9902 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.2144, allocations: 277.4 kB / 0.9904 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2145, allocations: 3.984 kB / 0.9904 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.2148, allocations: 55.89 kB / 0.9905 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2148, allocations: 0 / 0.9905 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.2148, allocations: 7.984 kB / 0.9905 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.2148, allocations: 3.953 kB / 0.9905 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2148, allocations: 4 kB / 0.9905 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.2155, allocations: 399.2 kB / 0.9909 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.2156, allocations: 112.8 kB / 0.991 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.2157, allocations: 7.938 kB / 0.991 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.2159, allocations: 39.97 kB / 0.991 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.216, allocations: 15.92 kB / 0.9911 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.216, allocations: 11.98 kB / 0.9911 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001002/0.2161, allocations: 162 kB / 0.9912 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2161, allocations: 0 / 0.9912 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003002/0.2164, allocations: 59.94 kB / 0.9913 GB, free: 15.07 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.001061/0.2175, allocations: 0.9658 MB / 0.9922 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006958/0.2182, allocations: 255.8 kB / 0.9925 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2182, allocations: 0 / 0.9925 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.2185, allocations: 139.9 kB / 0.9926 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.2189, allocations: 34.05 kB / 0.9926 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.2212, allocations: 1.481 MB / 0.9941 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.2214, allocations: 0.7353 MB / 0.9948 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.2215, allocations: 36.84 kB / 0.9948 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.2217, allocations: 67.39 kB / 0.9949 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2217, allocations: 0 / 0.9949 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.2365, allocations: 4.37 MB / 0.9992 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/0.2366, allocations: 213.6 kB / 0.9994 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/1.965, allocations: 5.297 kB / 0.9994 GB, free: 6.848 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)