Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.297/2.297, allocations: 251.3 MB / 266.2 MB, free: 11.49 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 179.2 kB / 325.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.52/2.52, allocations: 205.4 MB / 0.5767 GB, free: 21.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001354/0.001353, allocations: 86.14 kB / 0.6812 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007281/0.0007285, allocations: 16.64 kB / 0.7953 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3123, allocations: 106.3 MB / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002469/0.3148, allocations: 1.671 MB / 0.9007 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004917/0.3198, allocations: 3.454 MB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.32, allocations: 4 kB / 0.9041 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.3203, allocations: 39.75 kB / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.3206, allocations: 99.34 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.321, allocations: 103.8 kB / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.3214, allocations: 223 kB / 0.9045 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3215, allocations: 40.56 kB / 0.9045 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.3218, allocations: 103.6 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.322, allocations: 95.59 kB / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.322, allocations: 8 kB / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.3223, allocations: 99.84 kB / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.3224, allocations: 39.81 kB / 0.9049 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.3224, allocations: 57.58 kB / 0.9049 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.3227, allocations: 183.5 kB / 0.9051 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3227, allocations: 0 / 0.9051 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3227, allocations: 4 kB / 0.9051 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3227, allocations: 0 / 0.9051 GB, free: 59.63 MB / 0.6042 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.00147/0.3242, allocations: 0.5726 MB / 0.9057 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3243, allocations: 12.03 kB / 0.9057 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.3243, allocations: 32.55 kB / 0.9057 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.3249, allocations: 259.8 kB / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3249, allocations: 384 / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.3249, allocations: 12.38 kB / 0.906 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/0.3258, allocations: 195.3 kB / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3258, allocations: 0 / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.3259, allocations: 8 kB / 0.9062 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3259, allocations: 4 kB / 0.9062 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.3271, allocations: 235.8 kB / 0.9064 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.3283, allocations: 0.4886 MB / 0.9069 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.3291, allocations: 142.4 kB / 0.907 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/0.3297, allocations: 132.8 kB / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/0.331, allocations: 0.5728 MB / 0.9077 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.3311, allocations: 34.56 kB / 0.9077 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.936e-06/0.3311, allocations: 0 / 0.9077 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.002128/0.3332, allocations: 417.4 kB / 0.9081 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3333, allocations: 59.28 kB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.3335, allocations: 230.7 kB / 0.9084 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.3336, allocations: 29.7 kB / 0.9084 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.3337, allocations: 136 kB / 0.9085 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.3338, allocations: 39.45 kB / 0.9086 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.3338, allocations: 8 kB / 0.9086 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.3339, allocations: 330.8 kB / 0.9089 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006306/0.3346, allocations: 115.9 kB / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.3352, allocations: 112.4 kB / 0.9091 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.3358, allocations: 128 kB / 0.9092 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3359, allocations: 0 / 0.9092 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001403/0.3373, allocations: 297.2 kB / 0.9095 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3373, allocations: 9.25 kB / 0.9095 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3373, allocations: 0 / 0.9095 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.3374, allocations: 4 kB / 0.9095 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/0.338, allocations: 59.88 kB / 0.9096 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.338, allocations: 7.938 kB / 0.9096 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.3384, allocations: 39.91 kB / 0.9096 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.3385, allocations: 4 kB / 0.9097 GB, free: 54.64 MB / 0.6042 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.0001454/0.3386, allocations: 129.8 kB / 0.9098 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.3387, allocations: 19.72 kB / 0.9098 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.3402, allocations: 335 kB / 0.9101 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3402, allocations: 4 kB / 0.9101 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.3402, allocations: 3.938 kB / 0.9101 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3402, allocations: 0 / 0.9101 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.3406, allocations: 277.4 kB / 0.9104 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3406, allocations: 0 / 0.9104 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.3412, allocations: 55.94 kB / 0.9104 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3412, allocations: 4 kB / 0.9104 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.3412, allocations: 7.984 kB / 0.9104 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3412, allocations: 0 / 0.9104 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3412, allocations: 3.938 kB / 0.9105 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.3427, allocations: 403 kB / 0.9108 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.3428, allocations: 112.8 kB / 0.9109 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.3429, allocations: 0 / 0.9109 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.3434, allocations: 39.97 kB / 0.911 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-05/0.3435, allocations: 15.91 kB / 0.911 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.3435, allocations: 8 kB / 0.911 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001687/0.3437, allocations: 170 kB / 0.9112 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3437, allocations: 0 / 0.9112 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004284/0.3441, allocations: 55.91 kB / 0.9112 GB, free: 52.94 MB / 0.6042 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.0002452/0.3444, allocations: 131.2 kB / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.3458, allocations: 263.7 kB / 0.9116 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3458, allocations: 3.938 kB / 0.9116 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006706/0.3465, allocations: 135.9 kB / 0.9117 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.3471, allocations: 28.41 kB / 0.9118 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3482, allocations: 485.8 kB / 0.9122 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.3484, allocations: 0.7394 MB / 0.9129 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000314/0.3487, allocations: 36.84 kB / 0.913 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.3488, allocations: 23.36 kB / 0.913 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of SimCode: time 1.143e-06/0.3489, allocations: 4 kB / 0.913 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.007557/0.3564, allocations: 2.308 MB / 0.9153 GB, free: 48.75 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)