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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001289/0.001289, allocations: 194 kB / 16.14 MB, free: 6.66 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.237/1.237, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001957/0.001957, allocations: 275.1 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9113/0.9113, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 94.27 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1556, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005879/0.1615, allocations: 4.436 MB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.424/0.5855, allocations: 148.3 MB / 0.8287 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006334/0.5862, allocations: 14.72 kB / 0.8287 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.5866, allocations: 139.2 kB / 0.8288 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.5878, allocations: 446.9 kB / 0.8292 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.5893, allocations: 0.7384 MB / 0.83 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009079/0.5902, allocations: 1.263 MB / 0.8312 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000689/0.5909, allocations: 0.6075 MB / 0.8318 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.5913, allocations: 428.9 kB / 0.8322 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004166/0.5917, allocations: 495.1 kB / 0.8327 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.5919, allocations: 56.66 kB / 0.8327 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007039/0.5926, allocations: 395.6 kB / 0.8331 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.5928, allocations: 250.6 kB / 0.8333 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.5932, allocations: 0.4958 MB / 0.8338 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.5944, allocations: 1.541 MB / 0.8353 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5944, allocations: 4.5 kB / 0.8353 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5944, allocations: 0 / 0.8353 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.5944, allocations: 0 / 0.8353 GB, free: 15.89 MB / 0.5762 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.002537/0.597, allocations: 1.461 MB / 0.8368 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.597, allocations: 10.16 kB / 0.8368 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.5972, allocations: 138.2 kB / 0.8369 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009129/0.5981, allocations: 186.3 kB / 0.8371 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009658/0.5991, allocations: 0.7585 MB / 0.8378 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/0.5991, allocations: 64.88 kB / 0.8379 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.5992, allocations: 87.92 kB / 0.838 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.6008, allocations: 0.9438 MB / 0.8389 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.6008, allocations: 3.938 kB / 0.8389 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.6009, allocations: 36.69 kB / 0.8389 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.6009, allocations: 21.28 kB / 0.8389 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.6026, allocations: 1.13 MB / 0.84 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/0.6063, allocations: 2.558 MB / 0.8425 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.6078, allocations: 0.9158 MB / 0.8434 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.6083, allocations: 320.5 kB / 0.8437 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.984e-05/0.6084, allocations: 30.19 kB / 0.8438 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008636/0.6093, allocations: 0.5132 MB / 0.8443 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.565e-06/0.6093, allocations: 6.469 kB / 0.8443 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003091/0.6124, allocations: 1.251 MB / 0.8455 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.6125, allocations: 198.6 kB / 0.8457 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007662/0.6133, allocations: 0.6389 MB / 0.8463 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-05/0.6134, allocations: 43.3 kB / 0.8464 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.6137, allocations: 404.8 kB / 0.8467 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.6139, allocations: 274.7 kB / 0.847 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.6141, allocations: 153.7 kB / 0.8472 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6143, allocations: 396.2 kB / 0.8475 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.6148, allocations: 254 kB / 0.8478 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/0.6154, allocations: 370.1 kB / 0.8481 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.6164, allocations: 0.6164 MB / 0.8487 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6164, allocations: 0 / 0.8487 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001794/0.6182, allocations: 0.8286 MB / 0.8495 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6182, allocations: 10.97 kB / 0.8495 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.6182, allocations: 3.938 kB / 0.8495 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/0.6188, allocations: 86.69 kB / 0.8496 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/0.6195, allocations: 161.3 kB / 0.8498 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.6213, allocations: 1.51 MB / 0.8513 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/0.6221, allocations: 96.45 kB / 0.8514 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.6222, allocations: 34.59 kB / 0.8514 GB, free: 6.297 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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 (93): * Single equations (assignments): 92 * 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.0004751/0.6227, allocations: 272.4 kB / 0.8516 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.6228, allocations: 88.34 kB / 0.8517 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.6253, allocations: 1.138 MB / 0.8528 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.6253, allocations: 10.84 kB / 0.8529 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6253, allocations: 0.875 kB / 0.8529 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.6253, allocations: 7.922 kB / 0.8529 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.6285, allocations: 2.043 MB / 0.8549 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6286, allocations: 0 / 0.8549 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.6292, allocations: 156.5 kB / 0.855 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004954/0.6297, allocations: 83.39 kB / 0.8551 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.6297, allocations: 27.61 kB / 0.8551 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.6315, allocations: 1.547 MB / 0.8566 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6315, allocations: 2.812 kB / 0.8566 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.6335, allocations: 1.046 MB / 0.8576 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.6339, allocations: 281.8 kB / 0.8579 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.6341, allocations: 31.42 kB / 0.8579 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006694/0.6348, allocations: 69.38 kB / 0.858 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.6349, allocations: 85.69 kB / 0.8581 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-05/0.635, allocations: 30.73 kB / 0.8581 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005319/0.6356, allocations: 470.3 kB / 0.8586 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6356, allocations: 0 / 0.8586 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000837/0.6364, allocations: 315 kB / 0.8589 GB, free: 1.176 MB / 0.5762 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.003373/0.6398, allocations: 2.124 MB / 0.8609 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.6413, allocations: 0.8325 MB / 0.8618 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6413, allocations: 0 / 0.8618 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.6422, allocations: 0.5371 MB / 0.8623 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.6434, allocations: 272.9 kB / 0.8625 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.655, allocations: 7.135 MB / 0.8695 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.6555, allocations: 1.033 MB / 0.8705 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008348/0.6564, allocations: 273.1 kB / 0.8708 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/0.6569, allocations: 402.2 kB / 0.8712 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.6569, allocations: 0 / 0.8712 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.6931, allocations: 20.87 MB / 0.8915 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.6933, allocations: 333.1 kB / 0.8919 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/2.991, allocations: 2.109 kB / 0.8919 GB, free: 5.707 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)