Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.302/2.302, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 198.4 kB / 499.1 MB, free: 4.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 105.8 kB / 0.9329 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001137, allocations: 54.02 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2859, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004888/0.2909, allocations: 4.139 MB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.136/0.4269, allocations: 148.2 MB / 1.367 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009866/0.4279, allocations: 23.88 kB / 1.367 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008495/0.4288, allocations: 127 kB / 1.367 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.4308, allocations: 405.8 kB / 1.367 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.4328, allocations: 0.6957 MB / 1.368 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.4344, allocations: 1.117 MB / 1.369 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008534/0.4352, allocations: 0.5942 MB / 1.37 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.4358, allocations: 386.3 kB / 1.37 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/0.4363, allocations: 418 kB / 1.37 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.4364, allocations: 52 kB / 1.371 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009307/0.4374, allocations: 395.6 kB / 1.371 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.4376, allocations: 223.1 kB / 1.371 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003994/0.438, allocations: 453.3 kB / 1.372 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.4395, allocations: 1.394 MB / 1.373 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4395, allocations: 0 / 1.373 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.02e-07/0.4395, allocations: 0 / 1.373 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.4395, allocations: 4 kB / 1.373 GB, free: 6.02 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002032/0.4415, allocations: 1.327 MB / 1.374 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.4416, allocations: 15.98 kB / 1.374 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008186/0.4424, allocations: 183.4 kB / 1.374 GB, free: 4.441 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009156/0.4433, allocations: 0.7033 MB / 1.375 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.4434, allocations: 58 kB / 1.375 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.022e-05/0.4435, allocations: 76 kB / 1.375 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.4448, allocations: 0.8676 MB / 1.376 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.4449, allocations: 7.938 kB / 1.376 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/0.4449, allocations: 32 kB / 1.376 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.445, allocations: 27.94 kB / 1.376 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.4466, allocations: 1.065 MB / 1.377 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003647/0.4502, allocations: 2.385 MB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.4515, allocations: 0.7978 MB / 1.38 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/0.452, allocations: 286.7 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.032e-05/0.4521, allocations: 28.69 kB / 1.381 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008159/0.453, allocations: 431.1 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.274e-06/0.453, allocations: 0 / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002851/0.4558, allocations: 1.073 MB / 1.382 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.456, allocations: 200.6 kB / 1.382 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/0.4567, allocations: 0.5899 MB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.4567, allocations: 37.7 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.457, allocations: 372.3 kB / 1.383 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.4572, allocations: 252.4 kB / 1.383 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.4574, allocations: 150.5 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4576, allocations: 374.8 kB / 1.384 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.458, allocations: 241.9 kB / 1.384 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.4586, allocations: 332 kB / 1.384 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009763/0.4596, allocations: 0.5651 MB / 1.385 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4596, allocations: 0 / 1.385 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001759/0.4613, allocations: 0.7863 MB / 1.386 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.4614, allocations: 9.25 kB / 1.386 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4614, allocations: 0 / 1.386 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/0.462, allocations: 80.91 kB / 1.386 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/0.4626, allocations: 147.8 kB / 1.386 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.4645, allocations: 1.528 MB / 1.388 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/0.4651, allocations: 75.39 kB / 1.388 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.4652, allocations: 35.97 kB / 1.388 GB, free: 6.398 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003763/0.4656, allocations: 259.4 kB / 1.388 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.4657, allocations: 71.16 kB / 1.388 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.4679, allocations: 1.01 MB / 1.389 GB, free: 5.039 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.4679, allocations: 11.94 kB / 1.389 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.4679, allocations: 0 / 1.389 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4679, allocations: 3.984 kB / 1.389 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003026/0.471, allocations: 1.854 MB / 1.391 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.471, allocations: 0 / 1.391 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.4715, allocations: 151.8 kB / 1.391 GB, free: 2.961 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/0.4721, allocations: 88.7 kB / 1.391 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.4721, allocations: 19.98 kB / 1.391 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.4739, allocations: 1.544 MB / 1.393 GB, free: 1.172 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4739, allocations: 0 / 1.393 GB, free: 1.172 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.4767, allocations: 1.928 MB / 1.394 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/0.4771, allocations: 255.8 kB / 1.395 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.4772, allocations: 20 kB / 1.395 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.4777, allocations: 51.94 kB / 1.395 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.4779, allocations: 60.91 kB / 1.395 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.478, allocations: 39.98 kB / 1.395 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005022/0.4785, allocations: 423 kB / 1.395 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4785, allocations: 0 / 1.395 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001035/0.4795, allocations: 299.2 kB / 1.395 GB, free: 14.04 MB / 0.9011 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.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/0.4809, allocations: 0.606 MB / 1.396 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.4825, allocations: 0.7493 MB / 1.397 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4825, allocations: 4 kB / 1.397 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008348/0.4833, allocations: 0.4887 MB / 1.397 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.4845, allocations: 266.8 kB / 1.398 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.4888, allocations: 2.497 MB / 1.4 GB, free: 9.555 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.4894, allocations: 1.024 MB / 1.401 GB, free: 8.508 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008501/0.4903, allocations: 262 kB / 1.401 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.4905, allocations: 99.39 kB / 1.401 GB, free: 8.152 MB / 0.9011 GB Notification: Performance of SimCode: time 6.91e-07/0.4905, allocations: 3.938 kB / 1.401 GB, free: 8.148 MB / 0.9011 GB Notification: Performance of Templates: time 0.02358/0.5141, allocations: 13.62 MB / 1.415 GB, free: 10.66 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)