Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009225/0.0009223, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00674/0.00674, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 473.4 MB / 0.7469 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003802, allocations: 13.94 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3296, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002403/0.3321, allocations: 1.765 MB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005145/0.3373, allocations: 4.024 MB / 1.08 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.3375, allocations: 0 / 1.08 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007991/0.3383, allocations: 190.1 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.3384, allocations: 59.53 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007111/0.3391, allocations: 203.6 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006134/0.3398, allocations: 394.8 kB / 1.081 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3399, allocations: 44.39 kB / 1.081 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3401, allocations: 99.61 kB / 1.081 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.3402, allocations: 115.5 kB / 1.081 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.3403, allocations: 8 kB / 1.081 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.3407, allocations: 291.6 kB / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3409, allocations: 91.64 kB / 1.081 GB, free: 300 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.341, allocations: 160.8 kB / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005572/0.3416, allocations: 0.4945 MB / 1.082 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3416, allocations: 0 / 1.082 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3416, allocations: 0 / 1.082 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3416, allocations: 0 / 1.082 GB, free: 15.63 MB / 0.8419 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.001305/0.3429, allocations: 0.7374 MB / 1.083 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.343, allocations: 12.03 kB / 1.083 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.294e-05/0.3431, allocations: 40.47 kB / 1.083 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.3436, allocations: 330.2 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3436, allocations: 4.375 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.3436, allocations: 12.31 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.3442, allocations: 227.1 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3442, allocations: 0 / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.3443, allocations: 7.984 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3443, allocations: 4 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/0.3451, allocations: 283.8 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.3461, allocations: 0.5978 MB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.3466, allocations: 198.5 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.347, allocations: 156.7 kB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.3471, allocations: 19.98 kB / 1.084 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3471, allocations: 38.56 kB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.3471, allocations: 0 / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.001428/0.3486, allocations: 0.4894 MB / 1.085 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.3486, allocations: 55.41 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.3491, allocations: 413.5 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.3491, allocations: 29.7 kB / 1.085 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3492, allocations: 179.7 kB / 1.086 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.3493, allocations: 39.47 kB / 1.086 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.3494, allocations: 25.7 kB / 1.086 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3495, allocations: 350.8 kB / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.35, allocations: 191.8 kB / 1.086 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.3504, allocations: 192.4 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/0.3513, allocations: 398.4 kB / 1.087 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3513, allocations: 0 / 1.087 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001022/0.3524, allocations: 0.4909 MB / 1.087 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/0.3524, allocations: 46.94 kB / 1.087 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3525, allocations: 0 / 1.087 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3525, allocations: 0 / 1.087 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.3528, allocations: 63.88 kB / 1.087 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3528, allocations: 0 / 1.087 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.3531, allocations: 59.66 kB / 1.087 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.3532, allocations: 7.984 kB / 1.087 GB, free: 9.762 MB / 0.8419 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001722/0.3533, allocations: 153.8 kB / 1.087 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.3534, allocations: 31.62 kB / 1.088 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.3544, allocations: 388.5 kB / 1.088 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3545, allocations: 8 kB / 1.088 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3545, allocations: 0 / 1.088 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3545, allocations: 3.938 kB / 1.088 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.3549, allocations: 341.3 kB / 1.088 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3549, allocations: 0 / 1.088 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.3552, allocations: 59.94 kB / 1.088 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3552, allocations: 0 / 1.088 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.3552, allocations: 15.92 kB / 1.088 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3552, allocations: 0 / 1.088 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3552, allocations: 0 / 1.088 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009465/0.3562, allocations: 458.8 kB / 1.089 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.3563, allocations: 132.6 kB / 1.089 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.3564, allocations: 4 kB / 1.089 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.3567, allocations: 39.97 kB / 1.089 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.3568, allocations: 23.91 kB / 1.089 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.3568, allocations: 0 / 1.089 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002658/0.357, allocations: 287.1 kB / 1.089 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3571, allocations: 0 / 1.089 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004687/0.3575, allocations: 115.9 kB / 1.089 GB, free: 7.645 MB / 0.8419 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.000338/0.3579, allocations: 179.2 kB / 1.089 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.359, allocations: 0.539 MB / 1.09 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.359, allocations: 3.938 kB / 1.09 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.3594, allocations: 159.9 kB / 1.09 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.3599, allocations: 57.52 kB / 1.09 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.361, allocations: 0.7491 MB / 1.091 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.3614, allocations: 0.7868 MB / 1.092 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001985/0.3616, allocations: 49.5 kB / 1.092 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.433e-05/0.3617, allocations: 23.42 kB / 1.092 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.3617, allocations: 0 / 1.092 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of Templates: time 0.0085/0.3702, allocations: 4.469 MB / 1.096 GB, free: 0.6055 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)