Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 110.3 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002572/0.002572, allocations: 292.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9819/0.9819, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 99.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5787/0.5815, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006621/0.5881, allocations: 4.442 MB / 0.7714 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1718/0.7599, allocations: 151 MB / 0.9189 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.7609, allocations: 15.94 kB / 0.9189 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006437/0.7615, allocations: 174.3 kB / 0.919 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.7634, allocations: 0.5225 MB / 0.9196 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.7659, allocations: 0.8468 MB / 0.9204 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.7676, allocations: 1.351 MB / 0.9217 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000862/0.7684, allocations: 461.2 kB / 0.9221 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006241/0.7691, allocations: 0.4944 MB / 0.9226 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005995/0.7697, allocations: 0.5056 MB / 0.9231 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.7698, allocations: 116 kB / 0.9232 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008711/0.7707, allocations: 491.5 kB / 0.9237 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.771, allocations: 303 kB / 0.924 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.7715, allocations: 0.5595 MB / 0.9245 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.7734, allocations: 1.644 MB / 0.9261 GB, free: 360 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7734, allocations: 0 / 0.9261 GB, free: 360 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7734, allocations: 4 kB / 0.9261 GB, free: 356 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.7734, allocations: 0 / 0.9261 GB, free: 356 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002737/0.7761, allocations: 1.497 MB / 0.9276 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.7762, allocations: 8.031 kB / 0.9276 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009339/0.7771, allocations: 196 kB / 0.9278 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.7784, allocations: 0.7864 MB / 0.9286 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/0.7784, allocations: 62 kB / 0.9286 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.7785, allocations: 84 kB / 0.9287 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.7802, allocations: 0.9456 MB / 0.9296 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.7802, allocations: 0 / 0.9296 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/0.7803, allocations: 39.98 kB / 0.9297 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.7803, allocations: 24 kB / 0.9297 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.7822, allocations: 1.128 MB / 0.9308 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004108/0.7863, allocations: 2.536 MB / 0.9333 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.7879, allocations: 0.8563 MB / 0.9341 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.7885, allocations: 298 kB / 0.9344 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.072e-05/0.7886, allocations: 32.69 kB / 0.9344 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009241/0.7895, allocations: 0.5139 MB / 0.9349 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=85): time 2.395e-06/0.7895, allocations: 0 / 0.9349 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of matching and sorting (n=85): time 0.00343/0.7929, allocations: 1.255 MB / 0.9361 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.7931, allocations: 192.9 kB / 0.9363 GB, free: 5.59 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000858/0.7939, allocations: 0.641 MB / 0.937 GB, free: 4.941 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.587e-05/0.794, allocations: 49.64 kB / 0.937 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.7944, allocations: 405.1 kB / 0.9374 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.7946, allocations: 289.6 kB / 0.9377 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.7949, allocations: 174.6 kB / 0.9378 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.7951, allocations: 386.8 kB / 0.9382 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005747/0.7957, allocations: 277.8 kB / 0.9385 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006888/0.7963, allocations: 379.9 kB / 0.9388 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.7976, allocations: 0.6368 MB / 0.9395 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7976, allocations: 0 / 0.9395 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002095/0.7997, allocations: 0.8843 MB / 0.9403 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.7997, allocations: 8.062 kB / 0.9403 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.7997, allocations: 11.98 kB / 0.9403 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006065/0.8003, allocations: 76.78 kB / 0.9404 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.8011, allocations: 175.8 kB / 0.9406 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.8034, allocations: 1.626 MB / 0.9422 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/0.8042, allocations: 103.5 kB / 0.9423 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.688e-05/0.8043, allocations: 39.97 kB / 0.9423 GB, free: 15.25 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0004799/0.8048, allocations: 274.1 kB / 0.9426 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.8049, allocations: 87.44 kB / 0.9426 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.8076, allocations: 1.144 MB / 0.9438 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.8076, allocations: 8 kB / 0.9438 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.8076, allocations: 3.938 kB / 0.9438 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.8076, allocations: 7.969 kB / 0.9438 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.8111, allocations: 2.033 MB / 0.9458 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.8111, allocations: 0 / 0.9458 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.8118, allocations: 163.7 kB / 0.9459 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.8122, allocations: 72.78 kB / 0.946 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/0.8123, allocations: 27.98 kB / 0.946 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.8144, allocations: 1.658 MB / 0.9476 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8144, allocations: 0 / 0.9476 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.8167, allocations: 1.053 MB / 0.9487 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004399/0.8171, allocations: 284.1 kB / 0.9489 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.8172, allocations: 20 kB / 0.949 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007076/0.8179, allocations: 71.98 kB / 0.949 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.8181, allocations: 80.89 kB / 0.9491 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.177e-05/0.8182, allocations: 35.98 kB / 0.9491 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006083/0.8188, allocations: 471 kB / 0.9496 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8188, allocations: 0 / 0.9496 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009181/0.8197, allocations: 323.1 kB / 0.9499 GB, free: 7.215 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001979/0.8217, allocations: 0.6128 MB / 0.9505 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.8235, allocations: 0.847 MB / 0.9513 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8235, allocations: 0 / 0.9513 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009924/0.8245, allocations: 0.5041 MB / 0.9518 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.8258, allocations: 300.5 kB / 0.9521 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.8298, allocations: 1.828 MB / 0.9539 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/0.8306, allocations: 1.047 MB / 0.9549 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008149/0.8314, allocations: 266.8 kB / 0.9552 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.8316, allocations: 115.4 kB / 0.9553 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/0.8317, allocations: 0 / 0.9553 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of Templates: time 0.3974/1.229, allocations: 15.45 MB / 0.9704 GB, free: 183 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)