Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00252/0.002519, allocations: 354 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.462/1.462, allocations: 165.8 MB / 182.5 MB, free: 5.414 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.932/3.932, allocations: 410.8 MB / 0.5995 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002642/0.002641, allocations: 200.9 kB / 0.6662 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004433, allocations: 12 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3313, allocations: 67.44 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004596/0.3359, allocations: 3.57 MB / 0.8116 GB, free: 25.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.716/1.052, allocations: 136.3 MB / 0.9447 GB, free: 1.352 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009911/1.053, allocations: 15.72 kB / 0.9447 GB, free: 1.352 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004723/1.054, allocations: 76.44 kB / 0.9448 GB, free: 1.352 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002348/1.056, allocations: 387.3 kB / 0.9452 GB, free: 1.34 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003614/1.06, allocations: 0.5969 MB / 0.9458 GB, free: 1.328 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002304/1.062, allocations: 1.042 MB / 0.9468 GB, free: 1.324 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/1.063, allocations: 0.51 MB / 0.9473 GB, free: 1.246 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007961/1.064, allocations: 293.8 kB / 0.9475 GB, free: 1.246 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000659/1.065, allocations: 327.8 kB / 0.9479 GB, free: 1.207 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/1.065, allocations: 21.91 kB / 0.9479 GB, free: 1.207 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/1.066, allocations: 268.5 kB / 0.9481 GB, free: 1.203 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/1.066, allocations: 166.8 kB / 0.9483 GB, free: 1.164 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003009/1.067, allocations: 185.1 kB / 0.9485 GB, free: 1.098 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/1.069, allocations: 1.08 MB / 0.9495 GB, free: 1.008 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.097e-06/1.069, allocations: 6.594 kB / 0.9495 GB, free: 1.004 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.911e-06/1.069, allocations: 0 / 0.9495 GB, free: 1.004 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/1.069, allocations: 0 / 0.9495 GB, free: 1.004 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003978/1.073, allocations: 1.137 MB / 0.9506 GB, free: 292 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/1.073, allocations: 13.25 kB / 0.9507 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003387/1.076, allocations: 282.4 kB / 0.9509 GB, free: 216 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/1.079, allocations: 0.6876 MB / 0.9516 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/1.079, allocations: 69.61 kB / 0.9517 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/1.079, allocations: 83.5 kB / 0.9517 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004729/1.084, allocations: 0.9683 MB / 0.9527 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.105e-05/1.084, allocations: 0 / 0.9527 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/1.084, allocations: 35.62 kB / 0.9527 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/1.084, allocations: 22.88 kB / 0.9527 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00403/1.089, allocations: 1.176 MB / 0.9539 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006312/1.095, allocations: 2.6 MB / 0.9564 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/1.098, allocations: 0.8629 MB / 0.9573 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/1.099, allocations: 317.9 kB / 0.9576 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.84e-05/1.099, allocations: 33.36 kB / 0.9576 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/1.1, allocations: 475.4 kB / 0.9581 GB, free: 14.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 7.32e-06/1.1, allocations: 7.984 kB / 0.9581 GB, free: 14.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.004074/1.104, allocations: 1.202 MB / 0.9592 GB, free: 14.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/1.105, allocations: 190.5 kB / 0.9594 GB, free: 14.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009427/1.106, allocations: 0.5775 MB / 0.96 GB, free: 14.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/1.106, allocations: 41.73 kB / 0.96 GB, free: 14.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/1.106, allocations: 392.5 kB / 0.9604 GB, free: 13.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/1.106, allocations: 242.3 kB / 0.9606 GB, free: 13.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/1.107, allocations: 12.56 kB / 0.9606 GB, free: 13.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002357/1.107, allocations: 382.8 kB / 0.961 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008163/1.108, allocations: 277.8 kB / 0.9613 GB, free: 13.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/1.109, allocations: 366.7 kB / 0.9616 GB, free: 13.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/1.111, allocations: 322 kB / 0.9619 GB, free: 13.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.893e-06/1.111, allocations: 0 / 0.9619 GB, free: 13.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004513/1.115, allocations: 0.8543 MB / 0.9628 GB, free: 13.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/1.115, allocations: 6.031 kB / 0.9628 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.115, allocations: 1.969 kB / 0.9628 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/1.116, allocations: 86.27 kB / 0.9629 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.118, allocations: 165.2 kB / 0.963 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/1.122, allocations: 1.527 MB / 0.9645 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/1.124, allocations: 95.89 kB / 0.9646 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.124, allocations: 38.42 kB / 0.9646 GB, free: 11.92 MB / 490.7 MB 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 (85): * Single equations (assignments): 84 * 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.0006011/1.124, allocations: 257.4 kB / 0.9649 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/1.124, allocations: 78.97 kB / 0.965 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/1.128, allocations: 1.095 MB / 0.966 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/1.128, allocations: 13.47 kB / 0.966 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.615e-06/1.128, allocations: 5.953 kB / 0.966 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/1.128, allocations: 2.484 kB / 0.966 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/1.129, allocations: 0.8844 MB / 0.9669 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.129, allocations: 3.281 kB / 0.9669 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009002/1.13, allocations: 158.4 kB / 0.9671 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006257/1.131, allocations: 84.83 kB / 0.9671 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-05/1.131, allocations: 27.17 kB / 0.9672 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/1.133, allocations: 1.541 MB / 0.9687 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.883e-06/1.133, allocations: 0 / 0.9687 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/1.136, allocations: 0.9224 MB / 0.9696 GB, free: 9.598 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/1.137, allocations: 275.1 kB / 0.9698 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/1.137, allocations: 17.34 kB / 0.9699 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000767/1.138, allocations: 80.41 kB / 0.9699 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/1.138, allocations: 58.81 kB / 0.97 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.151e-05/1.138, allocations: 34.83 kB / 0.97 GB, free: 9.352 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007192/1.139, allocations: 424.5 kB / 0.9704 GB, free: 9.199 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.25e-07/1.139, allocations: 0 / 0.9704 GB, free: 9.199 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009965/1.14, allocations: 281.8 kB / 0.9707 GB, free: 9.145 MB / 490.7 MB 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 (86): * Single equations (assignments): 83 * 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.001799/1.142, allocations: 0.5494 MB / 0.9712 GB, free: 8.906 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002973/1.145, allocations: 0.8362 MB / 0.972 GB, free: 8.656 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.954e-06/1.145, allocations: 2.844 kB / 0.972 GB, free: 8.656 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/1.146, allocations: 0.5202 MB / 0.9726 GB, free: 8.465 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/1.148, allocations: 248.3 kB / 0.9728 GB, free: 8.398 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0052/1.153, allocations: 2.166 MB / 0.9749 GB, free: 7.203 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008464/1.154, allocations: 1.033 MB / 0.9759 GB, free: 6.355 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00138/1.155, allocations: 265.3 kB / 0.9762 GB, free: 6.223 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/1.156, allocations: 96.42 kB / 0.9763 GB, free: 6.203 MB / 490.7 MB Notification: Performance of SimCode: time 1.693e-06/1.156, allocations: 3.938 kB / 0.9763 GB, free: 6.199 MB / 490.7 MB Notification: Performance of Templates: time 0.03277/1.188, allocations: 12.86 MB / 0.9888 GB, free: 15.77 MB / 0.4948 GB