Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002417/0.002417, allocations: 357.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.474/1.474, allocations: 165.8 MB / 182.5 MB, free: 5.441 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 4.012/4.012, allocations: 410.8 MB / 0.5995 GB, free: 15.14 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.001683/0.001682, allocations: 194.9 kB / 0.6662 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004621, allocations: 12 kB / 0.7423 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3327, allocations: 67.44 MB / 0.8081 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004139/0.3368, allocations: 3.55 MB / 0.8116 GB, free: 25.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.654/0.9909, allocations: 136.2 MB / 0.9447 GB, free: 1.367 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006782/0.9916, allocations: 14.75 kB / 0.9447 GB, free: 1.367 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.992, allocations: 73.69 kB / 0.9448 GB, free: 1.367 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.9934, allocations: 394.7 kB / 0.9451 GB, free: 1.359 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.9955, allocations: 0.5922 MB / 0.9457 GB, free: 1.352 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.9968, allocations: 1.032 MB / 0.9467 GB, free: 1.348 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007563/0.9976, allocations: 467 kB / 0.9472 GB, free: 1.281 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005253/0.9981, allocations: 294.4 kB / 0.9474 GB, free: 1.281 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004255/0.9986, allocations: 311.1 kB / 0.9477 GB, free: 1.262 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.124e-05/0.9987, allocations: 23.06 kB / 0.9478 GB, free: 1.262 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007564/0.9995, allocations: 265.8 kB / 0.948 GB, free: 1.258 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.9997, allocations: 163.1 kB / 0.9482 GB, free: 1.219 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.9998, allocations: 180.3 kB / 0.9483 GB, free: 1.152 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/1.001, allocations: 1.017 MB / 0.9493 GB, free: 1.066 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.001, allocations: 0 / 0.9493 GB, free: 1.066 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.898e-06/1.001, allocations: 0 / 0.9493 GB, free: 1.066 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/1.001, allocations: 0 / 0.9493 GB, free: 1.066 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002109/1.003, allocations: 1.108 MB / 0.9504 GB, free: 368 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/1.003, allocations: 13.11 kB / 0.9504 GB, free: 368 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/1.004, allocations: 185.1 kB / 0.9506 GB, free: 308 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/1.006, allocations: 0.668 MB / 0.9513 GB, free: 12 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/1.006, allocations: 65.52 kB / 0.9513 GB, free: 0 / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/1.006, allocations: 79.23 kB / 0.9514 GB, free: 0 / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/1.008, allocations: 0.8566 MB / 0.9522 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/1.008, allocations: 0 / 0.9522 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.008, allocations: 34.98 kB / 0.9523 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/1.008, allocations: 20.38 kB / 0.9523 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/1.01, allocations: 1.062 MB / 0.9533 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005611/1.016, allocations: 2.373 MB / 0.9556 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/1.018, allocations: 0.804 MB / 0.9564 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/1.019, allocations: 287.6 kB / 0.9567 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-05/1.019, allocations: 32.56 kB / 0.9567 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009176/1.02, allocations: 429.6 kB / 0.9571 GB, free: 14.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=73): time 4.045e-06/1.02, allocations: 4 kB / 0.9571 GB, free: 14.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=73): time 0.004146/1.024, allocations: 1.09 MB / 0.9582 GB, free: 14.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/1.024, allocations: 190.7 kB / 0.9584 GB, free: 14.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/1.026, allocations: 0.5546 MB / 0.9589 GB, free: 14.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002089/1.026, allocations: 35.08 kB / 0.959 GB, free: 14.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/1.027, allocations: 370.2 kB / 0.9593 GB, free: 14.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004796/1.027, allocations: 243.6 kB / 0.9596 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.642e-05/1.027, allocations: 19.45 kB / 0.9596 GB, free: 13.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003315/1.028, allocations: 377.6 kB / 0.9599 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.029, allocations: 236.3 kB / 0.9602 GB, free: 13.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/1.03, allocations: 331.5 kB / 0.9605 GB, free: 13.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/1.031, allocations: 283.9 kB / 0.9607 GB, free: 13.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.884e-06/1.031, allocations: 3.562 kB / 0.9607 GB, free: 13.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003813/1.035, allocations: 0.7841 MB / 0.9615 GB, free: 13.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/1.035, allocations: 7.625 kB / 0.9615 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.035, allocations: 0 / 0.9615 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/1.036, allocations: 82.31 kB / 0.9616 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/1.038, allocations: 150.2 kB / 0.9617 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/1.042, allocations: 1.522 MB / 0.9632 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/1.043, allocations: 90.62 kB / 0.9633 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/1.043, allocations: 33.58 kB / 0.9633 GB, free: 12.01 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 (84): * Single equations (assignments): 83 * 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.0005709/1.044, allocations: 262.4 kB / 0.9636 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/1.044, allocations: 73.5 kB / 0.9637 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/1.047, allocations: 1.019 MB / 0.9647 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/1.047, allocations: 9.25 kB / 0.9647 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.047, allocations: 0 / 0.9647 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/1.047, allocations: 4.641 kB / 0.9647 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/1.051, allocations: 1.861 MB / 0.9665 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.922e-06/1.051, allocations: 0 / 0.9665 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007373/1.052, allocations: 150.2 kB / 0.9666 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005726/1.052, allocations: 83.31 kB / 0.9667 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/1.052, allocations: 24.08 kB / 0.9667 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/1.055, allocations: 1.551 MB / 0.9683 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.055, allocations: 0 / 0.9683 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/1.057, allocations: 0.9138 MB / 0.9691 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/1.058, allocations: 278.5 kB / 0.9694 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/1.058, allocations: 27.73 kB / 0.9694 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/1.059, allocations: 60.47 kB / 0.9695 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/1.059, allocations: 69 kB / 0.9696 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.659e-05/1.059, allocations: 30.64 kB / 0.9696 GB, free: 9.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000676/1.06, allocations: 417.3 kB / 0.97 GB, free: 9.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.06, allocations: 0 / 0.97 GB, free: 9.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001009/1.061, allocations: 266.6 kB / 0.9702 GB, free: 9.293 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 (87): * Single equations (assignments): 84 * 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.001812/1.063, allocations: 0.5477 MB / 0.9708 GB, free: 9.059 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/1.065, allocations: 0.7627 MB / 0.9715 GB, free: 8.832 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.683e-06/1.065, allocations: 2.438 kB / 0.9715 GB, free: 8.832 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.066, allocations: 499.3 kB / 0.972 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/1.067, allocations: 244.2 kB / 0.9722 GB, free: 8.586 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/1.072, allocations: 2.041 MB / 0.9742 GB, free: 7.457 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008396/1.073, allocations: 1.019 MB / 0.9752 GB, free: 6.613 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001241/1.074, allocations: 259 kB / 0.9755 GB, free: 6.484 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/1.075, allocations: 103.9 kB / 0.9756 GB, free: 6.457 MB / 490.7 MB Notification: Performance of SimCode: time 1.71e-06/1.075, allocations: 0 / 0.9756 GB, free: 6.457 MB / 490.7 MB Notification: Performance of Templates: time 0.03139/1.106, allocations: 12.49 MB / 0.9878 GB, free: 232 kB / 490.7 MB