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.001255/0.001255, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001521/0.001521, allocations: 188.8 kB / 16.25 MB, free: 6.625 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.506/1.506, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.687/1.687, allocations: 292.2 MB / 0.5485 GB, free: 13.6 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.001336/0.001337, allocations: 64.78 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2802, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003452/0.2837, allocations: 2.06 MB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004083/0.2878, allocations: 3.643 MB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.28e-05/0.2879, allocations: 3.938 kB / 0.7884 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.2883, allocations: 47.75 kB / 0.7885 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.2886, allocations: 99.39 kB / 0.7886 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.2889, allocations: 115.8 kB / 0.7887 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000298/0.2892, allocations: 255.1 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.2894, allocations: 40.38 kB / 0.789 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.2896, allocations: 115.5 kB / 0.7891 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.2898, allocations: 123.4 kB / 0.7892 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.2898, allocations: 16 kB / 0.7892 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.29, allocations: 115.8 kB / 0.7893 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.2901, allocations: 47.83 kB / 0.7894 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.2902, allocations: 99.39 kB / 0.7895 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.2905, allocations: 267.1 kB / 0.7897 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2905, allocations: 4 kB / 0.7897 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2905, allocations: 4 kB / 0.7897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.2905, allocations: 0 / 0.7897 GB, free: 6.828 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.001146/0.2917, allocations: 0.5801 MB / 0.7903 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2917, allocations: 12.03 kB / 0.7903 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.2918, allocations: 28.56 kB / 0.7903 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.2923, allocations: 271.6 kB / 0.7906 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.2923, allocations: 384 / 0.7906 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.2924, allocations: 12.38 kB / 0.7906 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/0.2929, allocations: 173.6 kB / 0.7908 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2929, allocations: 0 / 0.7908 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.2929, allocations: 4 kB / 0.7908 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2929, allocations: 0 / 0.7908 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.2936, allocations: 199.8 kB / 0.791 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009414/0.2946, allocations: 488.3 kB / 0.7914 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.295, allocations: 130.4 kB / 0.7915 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.2953, allocations: 112.8 kB / 0.7917 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009431/0.2963, allocations: 0.5571 MB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.2963, allocations: 30.56 kB / 0.7922 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2963, allocations: 0 / 0.7922 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001189/0.2975, allocations: 353.1 kB / 0.7926 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.2976, allocations: 51.41 kB / 0.7926 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.2978, allocations: 234.7 kB / 0.7928 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2978, allocations: 33.7 kB / 0.7929 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2979, allocations: 144.2 kB / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.298, allocations: 35.45 kB / 0.793 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.2981, allocations: 29.64 kB / 0.7931 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2982, allocations: 338.8 kB / 0.7934 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.2985, allocations: 95.84 kB / 0.7935 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.2988, allocations: 99.91 kB / 0.7936 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/0.2994, allocations: 197.3 kB / 0.7938 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2995, allocations: 0 / 0.7938 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007401/0.3002, allocations: 257.1 kB / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.3002, allocations: 4 kB / 0.794 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.3003, allocations: 3.984 kB / 0.794 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.3003, allocations: 0 / 0.794 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.3006, allocations: 43.95 kB / 0.7941 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3006, allocations: 7.938 kB / 0.7941 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.3009, allocations: 35.8 kB / 0.7941 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3009, allocations: 4 kB / 0.7941 GB, free: 2 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.0001274/0.301, allocations: 126.5 kB / 0.7942 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.3011, allocations: 27.72 kB / 0.7943 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008424/0.3019, allocations: 279.1 kB / 0.7945 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.302, allocations: 0 / 0.7945 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.302, allocations: 3.938 kB / 0.7945 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.302, allocations: 7.922 kB / 0.7945 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.3023, allocations: 269.5 kB / 0.7948 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3023, allocations: 4 kB / 0.7948 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.3026, allocations: 47.94 kB / 0.7948 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3026, allocations: 0 / 0.7948 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.3026, allocations: 0 / 0.7948 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3026, allocations: 4 kB / 0.7948 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3026, allocations: 7.922 kB / 0.7948 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/0.3034, allocations: 355 kB / 0.7952 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.3035, allocations: 116.7 kB / 0.7953 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.3036, allocations: 0 / 0.7953 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3038, allocations: 35.91 kB / 0.7953 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.3039, allocations: 15.92 kB / 0.7953 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3039, allocations: 7.984 kB / 0.7954 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000171/0.3041, allocations: 170 kB / 0.7955 GB, free: 472 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3041, allocations: 0 / 0.7955 GB, free: 472 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003204/0.3044, allocations: 55.98 kB / 0.7956 GB, free: 416 kB / 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.0002307/0.3047, allocations: 119.2 kB / 0.7957 GB, free: 284 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007359/0.3054, allocations: 231.7 kB / 0.7959 GB, free: 52 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3054, allocations: 0 / 0.7959 GB, free: 52 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.3058, allocations: 115.8 kB / 0.796 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.3063, allocations: 35.3 kB / 0.7961 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.3071, allocations: 494.3 kB / 0.7965 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.3075, allocations: 0.7353 MB / 0.7972 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000174/0.3076, allocations: 36.83 kB / 0.7973 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.3077, allocations: 23.42 kB / 0.7973 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.3077, allocations: 0 / 0.7973 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of Templates: time 0.005604/0.3133, allocations: 2.471 MB / 0.7997 GB, free: 12.13 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)