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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.752/2.752, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001381/0.001381, allocations: 179 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009402/0.0009402, allocations: 99.62 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.000532, allocations: 15.34 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2154, allocations: 115.3 MB / 0.9784 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002384/0.2178, allocations: 1.671 MB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004935/0.2228, allocations: 3.443 MB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.223, allocations: 4 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.2233, allocations: 43.7 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.2237, allocations: 95.39 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.2241, allocations: 95.81 kB / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.2244, allocations: 227 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2246, allocations: 44.56 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.2248, allocations: 95.61 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.225, allocations: 99.58 kB / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.225, allocations: 12 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.2253, allocations: 99.84 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.2254, allocations: 35.83 kB / 0.9842 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.2255, allocations: 57.58 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.2258, allocations: 183.5 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2258, allocations: 0 / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2258, allocations: 0 / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2258, allocations: 0 / 0.9844 GB, free: 22.18 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.001503/0.2273, allocations: 0.5841 MB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2274, allocations: 8.031 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.2274, allocations: 23.72 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.228, allocations: 266.4 kB / 0.9852 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.228, allocations: 8 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.2281, allocations: 4 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007761/0.2288, allocations: 193.5 kB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2289, allocations: 0 / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.2289, allocations: 8 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2289, allocations: 0 / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.2301, allocations: 239.8 kB / 0.9857 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.2313, allocations: 488.5 kB / 0.9861 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.232, allocations: 158.5 kB / 0.9863 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.2327, allocations: 132.8 kB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.2339, allocations: 0.5689 MB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.2339, allocations: 34.56 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.865e-06/0.2339, allocations: 0 / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.002081/0.236, allocations: 413.1 kB / 0.9874 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.2361, allocations: 59.34 kB / 0.9875 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.2364, allocations: 230.7 kB / 0.9877 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.2364, allocations: 25.92 kB / 0.9877 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.808e-05/0.2365, allocations: 144 kB / 0.9878 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.2366, allocations: 51.31 kB / 0.9879 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/0.2366, allocations: 0 / 0.9879 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.2367, allocations: 326.8 kB / 0.9882 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/0.2373, allocations: 119.9 kB / 0.9883 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.2379, allocations: 120.3 kB / 0.9884 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.2385, allocations: 120.1 kB / 0.9885 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2386, allocations: 0 / 0.9885 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001373/0.2399, allocations: 309.1 kB / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.24, allocations: 4 kB / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.24, allocations: 0 / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.24, allocations: 0 / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.2406, allocations: 59.89 kB / 0.9889 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2406, allocations: 3.984 kB / 0.9889 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.241, allocations: 35.97 kB / 0.9889 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.241, allocations: 4 kB / 0.9889 GB, free: 17.19 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 0.0001365/0.2412, allocations: 129.8 kB / 0.9891 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.2412, allocations: 23.67 kB / 0.9891 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.2427, allocations: 327.1 kB / 0.9894 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2427, allocations: 4 kB / 0.9894 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2428, allocations: 0 / 0.9894 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2428, allocations: 7.984 kB / 0.9894 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.2431, allocations: 273.3 kB / 0.9897 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2431, allocations: 0 / 0.9897 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/0.2436, allocations: 59.94 kB / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.2437, allocations: 4 kB / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.2437, allocations: 7.938 kB / 0.9897 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2437, allocations: 0 / 0.9897 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2437, allocations: 0 / 0.9897 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.2451, allocations: 399.1 kB / 0.9901 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.2452, allocations: 108.8 kB / 0.9902 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.2453, allocations: 4 kB / 0.9902 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.2457, allocations: 39.92 kB / 0.9903 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.514e-05/0.2458, allocations: 19.97 kB / 0.9903 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.2458, allocations: 0 / 0.9903 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001617/0.246, allocations: 177.9 kB / 0.9905 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.246, allocations: 0 / 0.9905 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004276/0.2465, allocations: 55.94 kB / 0.9905 GB, free: 15.48 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.0002439/0.2467, allocations: 127.2 kB / 0.9906 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.248, allocations: 259.7 kB / 0.9909 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2481, allocations: 4 kB / 0.9909 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006541/0.2487, allocations: 135.9 kB / 0.991 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.2493, allocations: 36.33 kB / 0.9911 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2504, allocations: 497.9 kB / 0.9915 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.2506, allocations: 0.7317 MB / 0.9922 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003269/0.2509, allocations: 44.77 kB / 0.9923 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.251, allocations: 19.42 kB / 0.9923 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of SimCode: time 9.11e-07/0.251, allocations: 0 / 0.9923 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.007182/0.2582, allocations: 2.311 MB / 0.9946 GB, free: 11.3 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)