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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 103.7 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001104, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.619/1.619, allocations: 205.1 MB / 222.8 MB, free: 4.719 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.76/1.76, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001404/0.001405, allocations: 69.98 kB / 0.6717 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2867, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004074/0.2908, allocations: 2.068 MB / 0.7855 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004588/0.2955, allocations: 3.647 MB / 0.7891 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.915e-05/0.2956, allocations: 0 / 0.7891 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.2959, allocations: 51.73 kB / 0.7891 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.2963, allocations: 95.41 kB / 0.7892 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.2966, allocations: 111.8 kB / 0.7893 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.2969, allocations: 263.1 kB / 0.7896 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.2971, allocations: 40.38 kB / 0.7896 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.2973, allocations: 115.5 kB / 0.7897 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.2975, allocations: 119.5 kB / 0.7899 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.2975, allocations: 12 kB / 0.7899 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.2977, allocations: 123.8 kB / 0.79 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.2978, allocations: 47.77 kB / 0.79 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2979, allocations: 99.39 kB / 0.7901 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.2982, allocations: 183.6 kB / 0.7903 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2982, allocations: 0 / 0.7903 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2982, allocations: 0 / 0.7903 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.2982, allocations: 4 kB / 0.7903 GB, free: 6.918 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.001163/0.2994, allocations: 0.5801 MB / 0.7909 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2994, allocations: 12.03 kB / 0.7909 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.2995, allocations: 28.56 kB / 0.7909 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.2999, allocations: 267.6 kB / 0.7912 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.2999, allocations: 12.31 kB / 0.7912 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.3, allocations: 8.375 kB / 0.7912 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.3005, allocations: 172.6 kB / 0.7913 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3005, allocations: 0 / 0.7913 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.3005, allocations: 4 kB / 0.7913 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3005, allocations: 0 / 0.7913 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006323/0.3012, allocations: 199.8 kB / 0.7915 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.3021, allocations: 496.3 kB / 0.792 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.3025, allocations: 122.5 kB / 0.7921 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.3028, allocations: 112.8 kB / 0.7922 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000876/0.3037, allocations: 0.5493 MB / 0.7928 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.3037, allocations: 38.55 kB / 0.7928 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.3037, allocations: 0 / 0.7928 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001124/0.3049, allocations: 353.2 kB / 0.7931 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3049, allocations: 55.41 kB / 0.7932 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.3052, allocations: 238.7 kB / 0.7934 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.3052, allocations: 25.7 kB / 0.7935 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.3053, allocations: 140 kB / 0.7936 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.3053, allocations: 39.45 kB / 0.7936 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.3054, allocations: 33.69 kB / 0.7937 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3056, allocations: 326.8 kB / 0.794 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.3059, allocations: 95.91 kB / 0.7941 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.3062, allocations: 99.91 kB / 0.7942 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000613/0.3068, allocations: 201.2 kB / 0.7943 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3068, allocations: 0 / 0.7943 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007208/0.3076, allocations: 257.2 kB / 0.7946 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3076, allocations: 4 kB / 0.7946 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3076, allocations: 0 / 0.7946 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3076, allocations: 0 / 0.7946 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.3079, allocations: 51.94 kB / 0.7946 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.308, allocations: 3.938 kB / 0.7946 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.3082, allocations: 35.81 kB / 0.7947 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.3082, allocations: 3.984 kB / 0.7947 GB, free: 2.094 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 0.0001304/0.3083, allocations: 125.8 kB / 0.7948 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.3084, allocations: 23.72 kB / 0.7948 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008012/0.3092, allocations: 287.1 kB / 0.7951 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3092, allocations: 0 / 0.7951 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.3092, allocations: 7.938 kB / 0.7951 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3092, allocations: 0 / 0.7951 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.3095, allocations: 273.5 kB / 0.7954 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3095, allocations: 0 / 0.7954 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.3098, allocations: 47.89 kB / 0.7954 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3098, allocations: 0 / 0.7954 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.3099, allocations: 7.984 kB / 0.7954 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3099, allocations: 0 / 0.7954 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3099, allocations: 3.938 kB / 0.7954 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/0.3106, allocations: 359 kB / 0.7958 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.3108, allocations: 116.7 kB / 0.7959 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.3108, allocations: 7.938 kB / 0.7959 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.3111, allocations: 27.95 kB / 0.7959 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.3111, allocations: 19.92 kB / 0.7959 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.3112, allocations: 4 kB / 0.7959 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001497/0.3113, allocations: 170 kB / 0.7961 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.833e-06/0.3113, allocations: 0 / 0.7961 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003151/0.3116, allocations: 55.94 kB / 0.7962 GB, free: 0.4961 MB / 0.6075 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.0002374/0.3119, allocations: 127.2 kB / 0.7963 GB, free: 368 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000752/0.3127, allocations: 235.7 kB / 0.7965 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3127, allocations: 0 / 0.7965 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.313, allocations: 115.9 kB / 0.7966 GB, free: 16 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.3135, allocations: 32.41 kB / 0.7966 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3145, allocations: 0.4962 MB / 0.7971 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.315, allocations: 0.7353 MB / 0.7978 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3151, allocations: 27.41 kB / 0.7979 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3151, allocations: 0 / 0.7979 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of Templates: time 0.005267/0.3204, allocations: 2.991 MB / 0.8008 GB, free: 11.71 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (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 & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)