Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002479/0.002483, allocations: 356.2 kB / 15.94 MB, free: 6.207 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.449/1.449, allocations: 165.8 MB / 182.5 MB, free: 5.375 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.862/3.862, allocations: 410.8 MB / 0.5995 GB, free: 15.16 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.001724/0.001724, allocations: 206.5 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.000477, allocations: 16 kB / 0.7423 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3356, allocations: 67.44 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007776/0.3434, allocations: 3.519 MB / 0.8116 GB, free: 25.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.5963/0.9398, allocations: 136.3 MB / 0.9446 GB, free: 1.348 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.9409, allocations: 15.91 kB / 0.9447 GB, free: 1.348 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.9415, allocations: 73 kB / 0.9447 GB, free: 1.348 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.9441, allocations: 393.6 kB / 0.9451 GB, free: 1.332 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003618/0.9477, allocations: 0.5947 MB / 0.9457 GB, free: 1.324 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.9499, allocations: 1.026 MB / 0.9467 GB, free: 1.32 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.9513, allocations: 453.4 kB / 0.9471 GB, free: 1.262 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007568/0.9521, allocations: 293.3 kB / 0.9474 GB, free: 1.258 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007063/0.9528, allocations: 312.5 kB / 0.9477 GB, free: 1.258 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.953, allocations: 23.22 kB / 0.9477 GB, free: 1.258 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.9543, allocations: 261.1 kB / 0.948 GB, free: 1.258 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.9546, allocations: 164.9 kB / 0.9481 GB, free: 1.223 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.9549, allocations: 180.9 kB / 0.9483 GB, free: 1.152 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.9569, allocations: 1.007 MB / 0.9493 GB, free: 1.074 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.659e-06/0.957, allocations: 4 kB / 0.9493 GB, free: 1.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.155e-06/0.957, allocations: 0 / 0.9493 GB, free: 1.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.957, allocations: 2.875 kB / 0.9493 GB, free: 1.07 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003727/0.9608, allocations: 1.1 MB / 0.9504 GB, free: 372 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.9609, allocations: 10.69 kB / 0.9504 GB, free: 372 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.9629, allocations: 183.4 kB / 0.9506 GB, free: 312 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.9656, allocations: 0.6731 MB / 0.9512 GB, free: 12 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.9657, allocations: 66.03 kB / 0.9513 GB, free: 4 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/0.9661, allocations: 73.28 kB / 0.9513 GB, free: 4 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.9693, allocations: 0.8526 MB / 0.9522 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.9694, allocations: 0 / 0.9522 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.9695, allocations: 31.81 kB / 0.9522 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.9695, allocations: 20.89 kB / 0.9522 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.9719, allocations: 1.052 MB / 0.9533 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005273/0.9772, allocations: 2.372 MB / 0.9556 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.979, allocations: 0.7935 MB / 0.9563 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006456/0.9797, allocations: 278.9 kB / 0.9566 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.529e-05/0.9798, allocations: 32.14 kB / 0.9566 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009444/0.9808, allocations: 428.4 kB / 0.9571 GB, free: 14.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 3.841e-06/0.9808, allocations: 0 / 0.9571 GB, free: 14.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.003628/0.9844, allocations: 1.076 MB / 0.9581 GB, free: 14.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.9846, allocations: 192.2 kB / 0.9583 GB, free: 14.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/0.9855, allocations: 0.5584 MB / 0.9588 GB, free: 14.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.9857, allocations: 40.73 kB / 0.9589 GB, free: 14.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.986, allocations: 368 kB / 0.9592 GB, free: 14.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.9863, allocations: 242.5 kB / 0.9595 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.9864, allocations: 13.06 kB / 0.9595 GB, free: 13.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.9866, allocations: 376.6 kB / 0.9598 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006222/0.9873, allocations: 242.8 kB / 0.9601 GB, free: 13.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007163/0.988, allocations: 329.7 kB / 0.9604 GB, free: 13.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.9887, allocations: 273 kB / 0.9606 GB, free: 13.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.451e-06/0.9887, allocations: 7.484 kB / 0.9606 GB, free: 13.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002231/0.991, allocations: 0.7617 MB / 0.9614 GB, free: 13.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.991, allocations: 10.38 kB / 0.9614 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.991, allocations: 5.844 kB / 0.9614 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006411/0.9917, allocations: 81.17 kB / 0.9615 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/0.9925, allocations: 150.2 kB / 0.9616 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/0.9951, allocations: 1.509 MB / 0.9631 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008775/0.996, allocations: 89.53 kB / 0.9632 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.9961, allocations: 34.06 kB / 0.9632 GB, free: 12.04 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 (83): * Single equations (assignments): 82 * 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.0005594/0.9967, allocations: 256.5 kB / 0.9635 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.9969, allocations: 73.5 kB / 0.9635 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.9997, allocations: 1.016 MB / 0.9645 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.9997, allocations: 15.08 kB / 0.9645 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.9997, allocations: 0 / 0.9645 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.9997, allocations: 4.359 kB / 0.9645 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/1.004, allocations: 1.852 MB / 0.9663 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.004, allocations: 3.594 kB / 0.9663 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007332/1.005, allocations: 145.6 kB / 0.9665 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005955/1.005, allocations: 93.47 kB / 0.9666 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.41e-05/1.005, allocations: 23.05 kB / 0.9666 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/1.008, allocations: 1.545 MB / 0.9681 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.662e-06/1.008, allocations: 0 / 0.9681 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/1.01, allocations: 0.9155 MB / 0.969 GB, free: 9.777 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/1.011, allocations: 262.5 kB / 0.9692 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/1.011, allocations: 16.84 kB / 0.9693 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007256/1.012, allocations: 72.05 kB / 0.9693 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/1.012, allocations: 69.53 kB / 0.9694 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/1.012, allocations: 28.58 kB / 0.9694 GB, free: 9.539 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006788/1.013, allocations: 412.1 kB / 0.9698 GB, free: 9.383 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.37e-07/1.013, allocations: 7.938 kB / 0.9698 GB, free: 9.375 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001099/1.014, allocations: 275 kB / 0.9701 GB, free: 9.32 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.conTim.tNext,weaDat.conTimMin.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.001807/1.016, allocations: 0.5477 MB / 0.9706 GB, free: 9.086 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001992/1.018, allocations: 0.7591 MB / 0.9714 GB, free: 8.859 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.076e-06/1.018, allocations: 0 / 0.9714 GB, free: 8.859 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/1.019, allocations: 494.2 kB / 0.9718 GB, free: 8.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/1.02, allocations: 249.7 kB / 0.9721 GB, free: 8.613 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/1.025, allocations: 2.041 MB / 0.9741 GB, free: 7.484 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008304/1.026, allocations: 1.013 MB / 0.9751 GB, free: 6.645 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001206/1.027, allocations: 252.7 kB / 0.9753 GB, free: 6.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/1.028, allocations: 94.95 kB / 0.9754 GB, free: 6.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.12e-06/1.028, allocations: 0 / 0.9754 GB, free: 6.5 MB / 490.7 MB Notification: Performance of Templates: time 0.03106/1.059, allocations: 12.46 MB / 0.9876 GB, free: 292 kB / 490.7 MB