Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001099/0.001099, allocations: 105.4 kB / 15.7 MB, free: 24 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.001211/0.001212, allocations: 199.5 kB / 16.64 MB, free: 6.453 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.252/1.252, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.591/1.591, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001392/0.001392, allocations: 73.75 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2039, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003399/0.2073, allocations: 2.01 MB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004167/0.2115, allocations: 3.683 MB / 0.7892 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.2116, allocations: 7.938 kB / 0.7892 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.212, allocations: 51.62 kB / 0.7893 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.2123, allocations: 107.3 kB / 0.7894 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.2127, allocations: 131.6 kB / 0.7895 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.213, allocations: 259 kB / 0.7897 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2131, allocations: 48.33 kB / 0.7898 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.2134, allocations: 111.6 kB / 0.7899 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.2135, allocations: 119.5 kB / 0.79 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.2136, allocations: 12 kB / 0.79 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.2138, allocations: 123.8 kB / 0.7901 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.2138, allocations: 39.84 kB / 0.7902 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.39e-05/0.2139, allocations: 103.4 kB / 0.7903 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.2143, allocations: 275 kB / 0.7905 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2143, allocations: 0 / 0.7905 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2143, allocations: 4 kB / 0.7905 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.2143, allocations: 0 / 0.7905 GB, free: 6.188 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00107/0.2154, allocations: 0.5917 MB / 0.7911 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2154, allocations: 12.03 kB / 0.7911 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.2155, allocations: 38.75 kB / 0.7912 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.2155, allocations: 32.64 kB / 0.7912 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.2159, allocations: 263.6 kB / 0.7914 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.216, allocations: 12.36 kB / 0.7915 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.216, allocations: 4.375 kB / 0.7915 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.2165, allocations: 177.5 kB / 0.7916 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2165, allocations: 0 / 0.7916 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.2165, allocations: 4 kB / 0.7916 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2165, allocations: 0 / 0.7916 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000651/0.2172, allocations: 195.8 kB / 0.7918 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000782/0.218, allocations: 492.3 kB / 0.7923 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.2184, allocations: 122.5 kB / 0.7924 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.2187, allocations: 116.7 kB / 0.7925 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008129/0.2195, allocations: 0.5454 MB / 0.793 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2196, allocations: 38.78 kB / 0.7931 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.2196, allocations: 3.938 kB / 0.7931 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001132/0.2207, allocations: 349.1 kB / 0.7934 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2208, allocations: 55.34 kB / 0.7935 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.221, allocations: 234.7 kB / 0.7937 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.221, allocations: 25.7 kB / 0.7937 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.2211, allocations: 140 kB / 0.7939 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.2211, allocations: 43.39 kB / 0.7939 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.2212, allocations: 29.7 kB / 0.7939 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2213, allocations: 334.8 kB / 0.7942 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.2217, allocations: 99.84 kB / 0.7943 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.222, allocations: 99.84 kB / 0.7944 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006423/0.2226, allocations: 201.3 kB / 0.7946 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2226, allocations: 0 / 0.7946 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007168/0.2234, allocations: 249.3 kB / 0.7949 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2234, allocations: 11.98 kB / 0.7949 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2234, allocations: 3.938 kB / 0.7949 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2234, allocations: 0 / 0.7949 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.2237, allocations: 47.89 kB / 0.7949 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2237, allocations: 3.938 kB / 0.7949 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.2239, allocations: 35.86 kB / 0.795 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.224, allocations: 4 kB / 0.795 GB, free: 1.297 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 (11): * Single equations (assignments): 11 * 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.938e-05/0.2241, allocations: 125.8 kB / 0.7951 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.2241, allocations: 23.72 kB / 0.7951 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008155/0.2249, allocations: 279.1 kB / 0.7954 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.225, allocations: 0 / 0.7954 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.225, allocations: 7.922 kB / 0.7954 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.225, allocations: 0 / 0.7954 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.2253, allocations: 269.5 kB / 0.7956 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2253, allocations: 3.938 kB / 0.7956 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.2255, allocations: 51.94 kB / 0.7957 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2256, allocations: 0 / 0.7957 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2256, allocations: 0 / 0.7957 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/0.2256, allocations: 11.98 kB / 0.7957 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2256, allocations: 3.938 kB / 0.7957 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007755/0.2264, allocations: 355 kB / 0.796 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.951e-05/0.2265, allocations: 112.7 kB / 0.7962 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.2265, allocations: 8 kB / 0.7962 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.2268, allocations: 19.97 kB / 0.7962 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.2268, allocations: 19.92 kB / 0.7962 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.2269, allocations: 7.984 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001236/0.227, allocations: 170 kB / 0.7964 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.442e-06/0.227, allocations: 0 / 0.7964 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002941/0.2273, allocations: 59.92 kB / 0.7964 GB, free: 15.71 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 (11): * Single equations (assignments): 11 * 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.001139/0.2284, allocations: 0.919 MB / 0.7973 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007238/0.2292, allocations: 220.2 kB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2292, allocations: 0 / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.2296, allocations: 120.1 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.23, allocations: 46.86 kB / 0.7977 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.2339, allocations: 2.452 MB / 0.8001 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.2343, allocations: 0.7353 MB / 0.8008 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000151/0.2344, allocations: 32.84 kB / 0.8008 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.2346, allocations: 70.66 kB / 0.8009 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.2346, allocations: 4 kB / 0.8009 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.2544, allocations: 4.932 MB / 0.8057 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.88, allocations: 11.94 kB / 0.8057 GB, free: 6.207 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)