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.007973/0.007973, allocations: 100.5 kB / 15.73 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.001825/0.001825, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002198/0.002198, allocations: 290.1 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 95.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1628, allocations: 86.97 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005843/0.1687, allocations: 4.444 MB / 0.7707 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.483/0.6517, allocations: 150.6 MB / 0.9178 GB, free: 7.613 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007594/0.6525, allocations: 19.88 kB / 0.9178 GB, free: 7.594 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006219/0.6531, allocations: 174.3 kB / 0.9179 GB, free: 7.426 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.6549, allocations: 0.523 MB / 0.9185 GB, free: 6.918 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.6568, allocations: 0.8403 MB / 0.9193 GB, free: 6.102 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.6582, allocations: 1.355 MB / 0.9206 GB, free: 4.738 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008524/0.6591, allocations: 0.6258 MB / 0.9212 GB, free: 4.094 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006456/0.6597, allocations: 0.4905 MB / 0.9217 GB, free: 3.602 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/0.6604, allocations: 0.5066 MB / 0.9222 GB, free: 3.094 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.6606, allocations: 120 kB / 0.9223 GB, free: 2.977 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000817/0.6614, allocations: 487.6 kB / 0.9228 GB, free: 2.5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.6617, allocations: 307 kB / 0.9231 GB, free: 2.199 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.6622, allocations: 0.5518 MB / 0.9236 GB, free: 1.645 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.664, allocations: 1.648 MB / 0.9252 GB, free: 0 / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.664, allocations: 0 / 0.9252 GB, free: 0 / 0.67 GB Notification: Performance of FrontEnd: time 1.42e-05/0.664, allocations: 0 / 0.9252 GB, free: 0 / 0.67 GB Notification: Performance of Transformations before backend: time 3.627e-05/0.664, allocations: 128 / 0.9252 GB, free: 16 MB / 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.00262/0.6667, allocations: 1.497 MB / 0.9267 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.6667, allocations: 8.031 kB / 0.9267 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008773/0.6676, allocations: 196.6 kB / 0.9269 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.6687, allocations: 0.7868 MB / 0.9276 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.6688, allocations: 65.98 kB / 0.9277 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.6689, allocations: 84 kB / 0.9278 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.6704, allocations: 0.9418 MB / 0.9287 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.6705, allocations: 3.75 kB / 0.9287 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.6706, allocations: 39.94 kB / 0.9287 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.6706, allocations: 24 kB / 0.9288 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.6723, allocations: 1.124 MB / 0.9299 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003623/0.6759, allocations: 2.533 MB / 0.9323 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.6775, allocations: 0.9117 MB / 0.9332 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005548/0.678, allocations: 314.7 kB / 0.9335 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.703e-05/0.6781, allocations: 36.67 kB / 0.9335 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008266/0.679, allocations: 0.5149 MB / 0.9341 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=85): time 2.014e-06/0.679, allocations: 4 kB / 0.9341 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85): time 0.003096/0.6821, allocations: 1.251 MB / 0.9353 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/0.6822, allocations: 196.9 kB / 0.9355 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.6829, allocations: 0.6449 MB / 0.9361 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/0.683, allocations: 41.7 kB / 0.9361 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.6832, allocations: 409.1 kB / 0.9365 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.6834, allocations: 285.6 kB / 0.9368 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.6837, allocations: 170.6 kB / 0.937 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6838, allocations: 390.7 kB / 0.9373 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.6844, allocations: 281.8 kB / 0.9376 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.685, allocations: 384 kB / 0.938 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.6862, allocations: 0.629 MB / 0.9386 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6862, allocations: 0 / 0.9386 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001902/0.6881, allocations: 0.8882 MB / 0.9395 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6881, allocations: 8 kB / 0.9395 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6881, allocations: 0 / 0.9395 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005536/0.6887, allocations: 84.83 kB / 0.9395 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/0.6894, allocations: 179.5 kB / 0.9397 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.6914, allocations: 1.627 MB / 0.9413 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/0.6921, allocations: 99.52 kB / 0.9414 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/0.6922, allocations: 43.91 kB / 0.9414 GB, free: 14.84 MB / 0.7012 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.0003525/0.6925, allocations: 275.7 kB / 0.9417 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.6927, allocations: 95.42 kB / 0.9418 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/0.6951, allocations: 1.132 MB / 0.9429 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.6952, allocations: 17.62 kB / 0.9429 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.6952, allocations: 0 / 0.9429 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.6952, allocations: 3.984 kB / 0.9429 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/0.6983, allocations: 2.034 MB / 0.9449 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6984, allocations: 0 / 0.9449 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.699, allocations: 155.8 kB / 0.9451 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004074/0.6994, allocations: 72.78 kB / 0.9451 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.6994, allocations: 27.97 kB / 0.9451 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.7012, allocations: 1.658 MB / 0.9468 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7012, allocations: 0 / 0.9468 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.7032, allocations: 1.061 MB / 0.9478 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.7036, allocations: 284.1 kB / 0.9481 GB, free: 7.777 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.7037, allocations: 23.98 kB / 0.9481 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/0.7044, allocations: 63.94 kB / 0.9482 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.7045, allocations: 76.89 kB / 0.9482 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-05/0.7046, allocations: 43.97 kB / 0.9483 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005419/0.7052, allocations: 459 kB / 0.9487 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7052, allocations: 0 / 0.9487 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007789/0.706, allocations: 334.2 kB / 0.949 GB, free: 6.809 MB / 0.7012 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.001305/0.7073, allocations: 0.6122 MB / 0.9496 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.7089, allocations: 0.8624 MB / 0.9505 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.709, allocations: 4.188 kB / 0.9505 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009736/0.7099, allocations: 0.547 MB / 0.951 GB, free: 4.938 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.7111, allocations: 307.2 kB / 0.9513 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.7152, allocations: 1.835 MB / 0.9531 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.7158, allocations: 1.043 MB / 0.9541 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007409/0.7165, allocations: 266.9 kB / 0.9544 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.7168, allocations: 115.4 kB / 0.9545 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of SimCode: time 2.6e-07/0.7168, allocations: 0 / 0.9545 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of Templates: time 0.02385/0.7406, allocations: 15.41 MB / 0.9695 GB, free: 2.148 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)