Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.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.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.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.0008816/0.0008817, allocations: 97.64 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.006126/0.006127, allocations: 174 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003951, allocations: 11.72 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3486, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002224/0.3508, allocations: 1.722 MB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004302/0.3552, allocations: 3.622 MB / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.3553, allocations: 0 / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.3556, allocations: 51.91 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.3558, allocations: 99.39 kB / 1.08 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.3562, allocations: 103.8 kB / 1.08 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.3565, allocations: 239.1 kB / 1.08 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3566, allocations: 44.38 kB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.3568, allocations: 99.55 kB / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.3569, allocations: 111.5 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.357, allocations: 12 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.3572, allocations: 107.8 kB / 1.08 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.3572, allocations: 31.84 kB / 1.08 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.3574, allocations: 121.1 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.3577, allocations: 267 kB / 1.081 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3577, allocations: 0 / 1.081 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3577, allocations: 0 / 1.081 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3577, allocations: 0 / 1.081 GB, free: 0.8945 MB / 0.8262 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.00105/0.3587, allocations: 0.5803 MB / 1.081 GB, free: 272 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3588, allocations: 8.031 kB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.3589, allocations: 24.66 kB / 1.081 GB, free: 240 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.3593, allocations: 271.6 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3593, allocations: 8.312 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.3593, allocations: 12.38 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.3599, allocations: 195.7 kB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.3599, allocations: 0 / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.3599, allocations: 0 / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3599, allocations: 4 kB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.3607, allocations: 235.8 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008509/0.3615, allocations: 0.4963 MB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.362, allocations: 142.5 kB / 1.083 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.3624, allocations: 132.8 kB / 1.083 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008851/0.3633, allocations: 0.5806 MB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.3633, allocations: 30.78 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 2.614e-06/0.3634, allocations: 0 / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.001337/0.3647, allocations: 417.4 kB / 1.084 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.3648, allocations: 59.41 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.365, allocations: 234.7 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.365, allocations: 29.7 kB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.3651, allocations: 136 kB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.3652, allocations: 35.47 kB / 1.084 GB, free: 13 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.3652, allocations: 17.7 kB / 1.084 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3653, allocations: 330.8 kB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.3657, allocations: 115.9 kB / 1.085 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.3661, allocations: 127.9 kB / 1.085 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.3669, allocations: 248.6 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3669, allocations: 0 / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008421/0.3677, allocations: 297.2 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3678, allocations: 8 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3678, allocations: 0 / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3678, allocations: 0 / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.3681, allocations: 59.88 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.3682, allocations: 7.938 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.3684, allocations: 39.91 kB / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.3684, allocations: 7.984 kB / 1.085 GB, free: 11.74 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 (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.0001224/0.3686, allocations: 129.8 kB / 1.085 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.3686, allocations: 19.72 kB / 1.085 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009419/0.3696, allocations: 323.2 kB / 1.086 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3696, allocations: 0 / 1.086 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3696, allocations: 3.938 kB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3696, allocations: 0 / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.3699, allocations: 273.4 kB / 1.086 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3699, allocations: 4 kB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.3702, allocations: 55.89 kB / 1.086 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3702, allocations: 3.938 kB / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.3703, allocations: 11.98 kB / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3703, allocations: 0 / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3703, allocations: 3.938 kB / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008819/0.3712, allocations: 395.1 kB / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/0.3713, allocations: 112.8 kB / 1.087 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.3713, allocations: 8 kB / 1.087 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.3716, allocations: 39.95 kB / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.3717, allocations: 19.92 kB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3717, allocations: 3.984 kB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000145/0.3718, allocations: 170 kB / 1.087 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.483e-06/0.3718, allocations: 0 / 1.087 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003383/0.3722, allocations: 63.84 kB / 1.087 GB, free: 10.04 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.0002158/0.3724, allocations: 132.6 kB / 1.087 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008591/0.3733, allocations: 252.4 kB / 1.087 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3733, allocations: 4 kB / 1.087 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.3737, allocations: 144 kB / 1.087 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.3742, allocations: 28.7 kB / 1.087 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008366/0.375, allocations: 0.5048 MB / 1.088 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3753, allocations: 0.7355 MB / 1.089 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000181/0.3755, allocations: 44.83 kB / 1.089 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/0.3756, allocations: 15.42 kB / 1.089 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3756, allocations: 4 kB / 1.089 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of Templates: time 0.005358/0.3809, allocations: 2.373 MB / 1.091 GB, free: 5.773 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)