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.001303/0.001303, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001108/0.001108, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.569/1.569, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002336/0.002336, allocations: 282.3 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9748/0.9748, allocations: 169.3 MB / 0.4988 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 101.7 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2246, allocations: 86.97 MB / 0.6808 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007575/0.2322, allocations: 4.436 MB / 0.6852 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6444/0.8766, allocations: 150.6 MB / 0.8322 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009122/0.8776, allocations: 19.88 kB / 0.8322 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005958/0.8783, allocations: 174.2 kB / 0.8324 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.88, allocations: 0.5215 MB / 0.8329 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.882, allocations: 0.8368 MB / 0.8337 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.8833, allocations: 1.343 MB / 0.835 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00086/0.8841, allocations: 0.6311 MB / 0.8357 GB, free: 276 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005639/0.8847, allocations: 498.1 kB / 0.8361 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005712/0.8853, allocations: 0.5056 MB / 0.8366 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.8855, allocations: 116 kB / 0.8367 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000815/0.8863, allocations: 463.6 kB / 0.8372 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.8866, allocations: 307 kB / 0.8375 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004681/0.887, allocations: 0.5557 MB / 0.838 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.8887, allocations: 1.6 MB / 0.8396 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.8887, allocations: 8 kB / 0.8396 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8887, allocations: 0 / 0.8396 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.8888, allocations: 0 / 0.8396 GB, free: 12.24 MB / 0.6075 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.002504/0.8913, allocations: 1.45 MB / 0.841 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.8913, allocations: 15.97 kB / 0.841 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009031/0.8922, allocations: 191.4 kB / 0.8412 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.8933, allocations: 0.7489 MB / 0.8419 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/0.8933, allocations: 69.98 kB / 0.842 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.8935, allocations: 80 kB / 0.8421 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.895, allocations: 0.9456 MB / 0.843 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.895, allocations: 0 / 0.843 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/0.8951, allocations: 40 kB / 0.843 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.8952, allocations: 20 kB / 0.843 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.8969, allocations: 1.132 MB / 0.8442 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.9009, allocations: 2.543 MB / 0.8466 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.9025, allocations: 0.9183 MB / 0.8475 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.9031, allocations: 316.4 kB / 0.8478 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-05/0.9032, allocations: 36.67 kB / 0.8479 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000964/0.9042, allocations: 0.5158 MB / 0.8484 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.517e-06/0.9042, allocations: 0 / 0.8484 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.003344/0.9076, allocations: 1.251 MB / 0.8496 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.9077, allocations: 188.9 kB / 0.8498 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008831/0.9086, allocations: 0.6449 MB / 0.8504 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.9087, allocations: 45.7 kB / 0.8504 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.909, allocations: 396.5 kB / 0.8508 GB, free: 408 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.9093, allocations: 280 kB / 0.8511 GB, free: 124 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/0.9096, allocations: 170.6 kB / 0.8513 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002337/0.9098, allocations: 394.7 kB / 0.8516 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/0.9104, allocations: 277.8 kB / 0.8519 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.911, allocations: 383.9 kB / 0.8523 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.9122, allocations: 0.6386 MB / 0.8529 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9122, allocations: 0 / 0.8529 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002024/0.9143, allocations: 0.8839 MB / 0.8538 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.9143, allocations: 14.38 kB / 0.8538 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.9143, allocations: 0 / 0.8538 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/0.9149, allocations: 92.69 kB / 0.8539 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/0.9156, allocations: 167.8 kB / 0.854 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.9178, allocations: 1.626 MB / 0.8556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007678/0.9186, allocations: 95.31 kB / 0.8557 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.9187, allocations: 35.97 kB / 0.8557 GB, free: 11.17 MB / 0.6231 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.0005002/0.9192, allocations: 280 kB / 0.856 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.9194, allocations: 86.95 kB / 0.8561 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/0.9219, allocations: 1.135 MB / 0.8572 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.922, allocations: 15.94 kB / 0.8572 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.922, allocations: 2.906 kB / 0.8572 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.922, allocations: 3.984 kB / 0.8572 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/0.9254, allocations: 2.036 MB / 0.8592 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9254, allocations: 7.938 kB / 0.8592 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.926, allocations: 155.8 kB / 0.8594 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/0.9265, allocations: 76.77 kB / 0.8594 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.9266, allocations: 27.97 kB / 0.8595 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.9285, allocations: 1.654 MB / 0.8611 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9285, allocations: 0 / 0.8611 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.9307, allocations: 1.051 MB / 0.8621 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.9312, allocations: 279.7 kB / 0.8624 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.9313, allocations: 20 kB / 0.8624 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006776/0.932, allocations: 68.62 kB / 0.8624 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.9322, allocations: 76.89 kB / 0.8625 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/0.9323, allocations: 43.97 kB / 0.8626 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006016/0.9329, allocations: 467 kB / 0.863 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9329, allocations: 0 / 0.863 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000968/0.9339, allocations: 319.2 kB / 0.8633 GB, free: 3.141 MB / 0.6231 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.001414/0.9353, allocations: 0.6138 MB / 0.8639 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002519/0.9378, allocations: 1.086 MB / 0.865 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9378, allocations: 4.25 kB / 0.865 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009484/0.9388, allocations: 0.5431 MB / 0.8655 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.9401, allocations: 297.4 kB / 0.8658 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.9443, allocations: 1.871 MB / 0.8676 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/0.945, allocations: 1.028 MB / 0.8686 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.9453, allocations: 131.4 kB / 0.8687 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.9453, allocations: 0 / 0.8687 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of Templates: time 0.02866/0.974, allocations: 18.84 MB / 0.8871 GB, free: 10.95 MB / 0.6544 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)