Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.586/4.586, allocations: 0.5623 GB / 0.5769 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002554/0.002553, allocations: 360.2 kB / 0.644 GB, free: 21.51 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.394/4.394, allocations: 410.8 MB / 1.112 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001777/0.001777, allocations: 182.9 kB / 1.225 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0007798/0.0007803, allocations: 10.66 kB / 1.348 GB, free: 320.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2092, allocations: 115.3 MB / 1.461 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00809/0.2173, allocations: 3.865 MB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1882/0.4056, allocations: 136.4 MB / 1.598 GB, free: 80.31 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008441/0.4065, allocations: 15.94 kB / 1.598 GB, free: 80.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.4069, allocations: 79.22 kB / 1.598 GB, free: 80.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.4086, allocations: 410.7 kB / 1.598 GB, free: 79.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.4107, allocations: 0.6162 MB / 1.599 GB, free: 79.21 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.4122, allocations: 1.136 MB / 1.6 GB, free: 78.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009464/0.4131, allocations: 0.6623 MB / 1.601 GB, free: 77.38 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005707/0.4137, allocations: 342.2 kB / 1.601 GB, free: 77.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.4142, allocations: 361.8 kB / 1.601 GB, free: 76.69 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.432e-05/0.4143, allocations: 24 kB / 1.601 GB, free: 76.67 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006778/0.415, allocations: 267.6 kB / 1.601 GB, free: 76.41 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.4152, allocations: 187.1 kB / 1.602 GB, free: 76.22 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.4154, allocations: 221 kB / 1.602 GB, free: 76 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.4167, allocations: 1.266 MB / 1.603 GB, free: 74.73 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.4167, allocations: 0 / 1.603 GB, free: 74.73 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4167, allocations: 4 kB / 1.603 GB, free: 74.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.4167, allocations: 0 / 1.603 GB, free: 74.73 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002385/0.4191, allocations: 1.307 MB / 1.604 GB, free: 73.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4192, allocations: 12.75 kB / 1.604 GB, free: 73.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.4202, allocations: 218.1 kB / 1.605 GB, free: 73.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.4216, allocations: 0.7663 MB / 1.605 GB, free: 72.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.4217, allocations: 82.25 kB / 1.605 GB, free: 72.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.4219, allocations: 108 kB / 1.606 GB, free: 72.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.4242, allocations: 1.127 MB / 1.607 GB, free: 70.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.4242, allocations: 0 / 1.607 GB, free: 70.95 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.4244, allocations: 44 kB / 1.607 GB, free: 70.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.4244, allocations: 28 kB / 1.607 GB, free: 70.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.4269, allocations: 1.218 MB / 1.608 GB, free: 69.66 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005419/0.4324, allocations: 3.003 MB / 1.611 GB, free: 66.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.4341, allocations: 0.7803 MB / 1.612 GB, free: 65.78 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006555/0.4348, allocations: 294.7 kB / 1.612 GB, free: 65.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.314e-05/0.4349, allocations: 24.7 kB / 1.612 GB, free: 65.47 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009292/0.4358, allocations: 455.2 kB / 1.612 GB, free: 65.01 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=78): time 4.488e-06/0.4358, allocations: 0 / 1.612 GB, free: 65.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=78): time 0.003341/0.4392, allocations: 1.144 MB / 1.613 GB, free: 63.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.4393, allocations: 196.5 kB / 1.614 GB, free: 63.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009382/0.4402, allocations: 0.6568 MB / 1.614 GB, free: 62.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.126e-05/0.4403, allocations: 45.7 kB / 1.614 GB, free: 62.89 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/0.4407, allocations: 491.6 kB / 1.615 GB, free: 62.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.4409, allocations: 260.3 kB / 1.615 GB, free: 62.14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.4409, allocations: 16 kB / 1.615 GB, free: 62.12 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4411, allocations: 386.8 kB / 1.615 GB, free: 61.74 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/0.4417, allocations: 261.8 kB / 1.616 GB, free: 61.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/0.4424, allocations: 359 kB / 1.616 GB, free: 61.12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007034/0.4432, allocations: 306.9 kB / 1.616 GB, free: 60.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.496e-06/0.4432, allocations: 0 / 1.616 GB, free: 60.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002179/0.4454, allocations: 0.8409 MB / 1.617 GB, free: 59.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4454, allocations: 8 kB / 1.617 GB, free: 59.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.4454, allocations: 3.953 kB / 1.617 GB, free: 59.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006303/0.4461, allocations: 84.86 kB / 1.617 GB, free: 59.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/0.4469, allocations: 159.8 kB / 1.617 GB, free: 59.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.4489, allocations: 1.52 MB / 1.619 GB, free: 58.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/0.4498, allocations: 91.39 kB / 1.619 GB, free: 57.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.832e-05/0.4499, allocations: 36.17 kB / 1.619 GB, free: 57.94 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005447/0.4504, allocations: 288.2 kB / 1.619 GB, free: 57.65 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.4506, allocations: 87.03 kB / 1.619 GB, free: 57.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.4532, allocations: 1.038 MB / 1.62 GB, free: 56.51 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4532, allocations: 11.94 kB / 1.62 GB, free: 56.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.892e-06/0.4532, allocations: 4 kB / 1.62 GB, free: 56.49 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.4533, allocations: 7.984 kB / 1.62 GB, free: 56.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.4546, allocations: 0.9734 MB / 1.621 GB, free: 55.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.362e-06/0.4546, allocations: 0 / 1.621 GB, free: 55.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008284/0.4554, allocations: 147.8 kB / 1.621 GB, free: 55.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005595/0.456, allocations: 88.77 kB / 1.622 GB, free: 55.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.4561, allocations: 19.98 kB / 1.622 GB, free: 55.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.4579, allocations: 1.541 MB / 1.623 GB, free: 53.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.671e-06/0.4579, allocations: 0 / 1.623 GB, free: 53.53 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.4601, allocations: 0.8927 MB / 1.624 GB, free: 52.62 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/0.4605, allocations: 291.6 kB / 1.624 GB, free: 52.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.4607, allocations: 16 kB / 1.624 GB, free: 52.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/0.4613, allocations: 73.67 kB / 1.624 GB, free: 52.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.4615, allocations: 64.91 kB / 1.624 GB, free: 52.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.811e-05/0.4616, allocations: 31.94 kB / 1.624 GB, free: 52.13 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006646/0.4623, allocations: 475 kB / 1.625 GB, free: 51.67 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.34e-07/0.4623, allocations: 7.938 kB / 1.625 GB, free: 51.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009123/0.4632, allocations: 315 kB / 1.625 GB, free: 51.36 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/0.4649, allocations: 0.5449 MB / 1.626 GB, free: 51.01 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.4672, allocations: 0.808 MB / 1.626 GB, free: 50.19 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.458e-06/0.4672, allocations: 0 / 1.626 GB, free: 50.19 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001/0.4682, allocations: 0.5001 MB / 1.627 GB, free: 49.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.4696, allocations: 261.9 kB / 1.627 GB, free: 49.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/0.4741, allocations: 2.43 MB / 1.63 GB, free: 46.97 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.4747, allocations: 1.105 MB / 1.631 GB, free: 45.83 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001083/0.4758, allocations: 262.6 kB / 1.631 GB, free: 45.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.4761, allocations: 103.4 kB / 1.631 GB, free: 45.47 MB / 0.8073 GB Notification: Performance of SimCode: time 1.58e-06/0.4762, allocations: 0 / 1.631 GB, free: 45.47 MB / 0.8073 GB Notification: Performance of Templates: time 0.02922/0.5054, allocations: 13.07 MB / 1.644 GB, free: 32.6 MB / 0.8073 GB