Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.001195, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.001233/0.001233, allocations: 189.5 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002206, allocations: 296.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.941/0.941, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 91.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4981, allocations: 86.98 MB / 0.767 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006334/0.5045, allocations: 4.311 MB / 0.7712 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1608/0.6653, allocations: 150.6 MB / 0.9182 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.6666, allocations: 15.94 kB / 0.9183 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.6677, allocations: 166.4 kB / 0.9184 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.6701, allocations: 0.51 MB / 0.9189 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.6725, allocations: 0.8263 MB / 0.9197 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001851/0.6744, allocations: 1.304 MB / 0.921 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.6755, allocations: 0.6313 MB / 0.9216 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007892/0.6763, allocations: 466.4 kB / 0.9221 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007776/0.6771, allocations: 0.49 MB / 0.9225 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002762/0.6774, allocations: 120 kB / 0.9227 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.6785, allocations: 483.6 kB / 0.9231 GB, free: 3.488 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.6789, allocations: 303 kB / 0.9234 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006946/0.6796, allocations: 0.5363 MB / 0.9239 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.6818, allocations: 1.618 MB / 0.9255 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6818, allocations: 0 / 0.9255 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6818, allocations: 0 / 0.9255 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.444e-05/0.6819, allocations: 0 / 0.9255 GB, free: 1.031 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003085/0.685, allocations: 1.403 MB / 0.9269 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.685, allocations: 12.03 kB / 0.9269 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000992/0.686, allocations: 183.4 kB / 0.9271 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.6874, allocations: 0.7617 MB / 0.9278 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/0.6875, allocations: 58 kB / 0.9279 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.6876, allocations: 84 kB / 0.9279 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.6893, allocations: 0.9183 MB / 0.9288 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.6893, allocations: 3.938 kB / 0.9288 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/0.6894, allocations: 40 kB / 0.9289 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.6894, allocations: 24 kB / 0.9289 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.6912, allocations: 1.112 MB / 0.93 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004025/0.6952, allocations: 2.492 MB / 0.9324 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.6968, allocations: 0.8909 MB / 0.9333 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005197/0.6973, allocations: 306.7 kB / 0.9336 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.029e-05/0.6974, allocations: 32.61 kB / 0.9336 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008602/0.6983, allocations: 495.2 kB / 0.9341 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 3.356e-06/0.6983, allocations: 0 / 0.9341 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.003012/0.7013, allocations: 1.19 MB / 0.9353 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.7014, allocations: 188.6 kB / 0.9354 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008473/0.7023, allocations: 0.6253 MB / 0.936 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.7024, allocations: 45.7 kB / 0.9361 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.7027, allocations: 392.4 kB / 0.9365 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.7029, allocations: 252.3 kB / 0.9367 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.7032, allocations: 158.5 kB / 0.9369 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.7033, allocations: 390.7 kB / 0.9372 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005224/0.7039, allocations: 277.8 kB / 0.9375 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.7045, allocations: 359.1 kB / 0.9378 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.7056, allocations: 0.6072 MB / 0.9384 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.7056, allocations: 0 / 0.9384 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001948/0.7076, allocations: 0.8527 MB / 0.9393 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.7076, allocations: 4 kB / 0.9393 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.7076, allocations: 0 / 0.9393 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005788/0.7082, allocations: 84.81 kB / 0.9393 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.7089, allocations: 163.7 kB / 0.9395 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.7109, allocations: 1.642 MB / 0.9411 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007551/0.7117, allocations: 90.41 kB / 0.9412 GB, free: 444 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.7118, allocations: 36.05 kB / 0.9412 GB, free: 408 kB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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.0004608/0.7122, allocations: 279.5 kB / 0.9415 GB, free: 120 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.7124, allocations: 83.02 kB / 0.9416 GB, free: 36 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.7148, allocations: 1.054 MB / 0.9426 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.7148, allocations: 11.94 kB / 0.9426 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7148, allocations: 3.938 kB / 0.9426 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.7149, allocations: 11.97 kB / 0.9426 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/0.7182, allocations: 1.939 MB / 0.9445 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.7182, allocations: 0 / 0.9445 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.7188, allocations: 147.7 kB / 0.9447 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004599/0.7192, allocations: 72.78 kB / 0.9447 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/0.7193, allocations: 23.98 kB / 0.9448 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.7211, allocations: 1.678 MB / 0.9464 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7212, allocations: 0 / 0.9464 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.7232, allocations: 0.9979 MB / 0.9474 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.7236, allocations: 267.8 kB / 0.9476 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.7238, allocations: 27.98 kB / 0.9476 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006664/0.7245, allocations: 55.94 kB / 0.9477 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.7246, allocations: 68.91 kB / 0.9478 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/0.7247, allocations: 35.97 kB / 0.9478 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006013/0.7253, allocations: 455 kB / 0.9482 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7253, allocations: 4 kB / 0.9482 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009028/0.7262, allocations: 307.2 kB / 0.9485 GB, free: 8.645 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001444/0.7277, allocations: 0.6185 MB / 0.9491 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.7294, allocations: 0.8198 MB / 0.9499 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.7294, allocations: 0 / 0.9499 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.7303, allocations: 0.5235 MB / 0.9504 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.7316, allocations: 287.6 kB / 0.9507 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.7356, allocations: 1.767 MB / 0.9524 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.7363, allocations: 1.023 MB / 0.9534 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.7366, allocations: 123.4 kB / 0.9536 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of SimCode: time 2.084e-06/0.7366, allocations: 0 / 0.9536 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of Templates: time 0.3958/1.132, allocations: 18.32 MB / 0.9715 GB, free: 181.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)