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.001502/0.001502, allocations: 111.4 kB / 16.41 MB, free: 6.016 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.001493/0.001493, allocations: 186.6 kB / 17.34 MB, free: 5.629 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.457/1.457, 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.002561/0.002561, allocations: 285.3 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 1.027/1.027, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002729/0.002729, allocations: 103.8 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.458, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00625/0.4643, allocations: 4.327 MB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.6494, allocations: 151 MB / 0.9187 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008953/0.6503, allocations: 15.94 kB / 0.9187 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006355/0.651, allocations: 178.4 kB / 0.9189 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.6528, allocations: 0.504 MB / 0.9193 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.655, allocations: 0.8318 MB / 0.9202 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.6567, allocations: 1.297 MB / 0.9214 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008023/0.6575, allocations: 476.5 kB / 0.9219 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00071/0.6582, allocations: 474.4 kB / 0.9223 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000616/0.6588, allocations: 497.8 kB / 0.9228 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.659, allocations: 120 kB / 0.9229 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.66, allocations: 479.6 kB / 0.9234 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.6603, allocations: 303 kB / 0.9237 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005031/0.6608, allocations: 0.5324 MB / 0.9242 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.663, allocations: 1.636 MB / 0.9258 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.663, allocations: 0 / 0.9258 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.583e-06/0.663, allocations: 0 / 0.9258 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.663, allocations: 0 / 0.9258 GB, free: 0.707 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.002737/0.6657, allocations: 1.444 MB / 0.9272 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.6658, allocations: 12.03 kB / 0.9272 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009845/0.6668, allocations: 184.1 kB / 0.9274 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.6681, allocations: 0.7662 MB / 0.9281 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.6681, allocations: 69.92 kB / 0.9282 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.6682, allocations: 83.94 kB / 0.9283 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.6699, allocations: 0.9145 MB / 0.9292 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.6699, allocations: 0 / 0.9292 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/0.67, allocations: 40 kB / 0.9292 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.67, allocations: 20 kB / 0.9292 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.672, allocations: 1.108 MB / 0.9303 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004371/0.6763, allocations: 2.501 MB / 0.9328 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.678, allocations: 0.8479 MB / 0.9336 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/0.6785, allocations: 278.7 kB / 0.9338 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.099e-05/0.6786, allocations: 28.61 kB / 0.9339 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000902/0.6795, allocations: 499.1 kB / 0.9343 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 3.647e-06/0.6795, allocations: 4 kB / 0.9344 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.003421/0.683, allocations: 1.192 MB / 0.9355 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.6831, allocations: 192.6 kB / 0.9357 GB, free: 6.234 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.684, allocations: 0.6292 MB / 0.9363 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.179e-05/0.6841, allocations: 41.7 kB / 0.9364 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.6845, allocations: 397 kB / 0.9367 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.6847, allocations: 273.7 kB / 0.937 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.685, allocations: 158.6 kB / 0.9371 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002154/0.6852, allocations: 390.7 kB / 0.9375 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.6858, allocations: 273.8 kB / 0.9378 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/0.6864, allocations: 359.1 kB / 0.9381 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.6876, allocations: 0.6033 MB / 0.9387 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6876, allocations: 0 / 0.9387 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002126/0.6898, allocations: 0.8531 MB / 0.9395 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6898, allocations: 6.656 kB / 0.9396 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.6898, allocations: 4 kB / 0.9396 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006493/0.6904, allocations: 88.8 kB / 0.9396 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.6911, allocations: 151.8 kB / 0.9398 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.6935, allocations: 1.646 MB / 0.9414 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008387/0.6943, allocations: 83.61 kB / 0.9415 GB, free: 112 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/0.6944, allocations: 35.97 kB / 0.9415 GB, free: 76 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.0005428/0.695, allocations: 281.9 kB / 0.9418 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.6951, allocations: 91.44 kB / 0.9419 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.6977, allocations: 1.058 MB / 0.9429 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.6977, allocations: 12 kB / 0.9429 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6977, allocations: 3.938 kB / 0.9429 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.6977, allocations: 3.984 kB / 0.9429 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/0.7013, allocations: 1.947 MB / 0.9448 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7013, allocations: 0 / 0.9448 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/0.7019, allocations: 151.8 kB / 0.945 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/0.7024, allocations: 68.78 kB / 0.945 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.7025, allocations: 23.98 kB / 0.945 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.7046, allocations: 1.67 MB / 0.9467 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7046, allocations: 3.938 kB / 0.9467 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.7071, allocations: 0.9907 MB / 0.9477 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/0.7076, allocations: 276.2 kB / 0.9479 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.7077, allocations: 31.88 kB / 0.9479 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006788/0.7084, allocations: 59.92 kB / 0.948 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.7086, allocations: 72.84 kB / 0.9481 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.87e-05/0.7087, allocations: 44.03 kB / 0.9481 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006599/0.7093, allocations: 447 kB / 0.9485 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.7093, allocations: 0 / 0.9485 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00101/0.7103, allocations: 315.2 kB / 0.9488 GB, free: 8.297 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.002026/0.7124, allocations: 0.6056 MB / 0.9494 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.7143, allocations: 0.804 MB / 0.9502 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7143, allocations: 0 / 0.9502 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.7153, allocations: 0.4885 MB / 0.9507 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.7167, allocations: 282.8 kB / 0.951 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.7211, allocations: 1.761 MB / 0.9527 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.7218, allocations: 1.023 MB / 0.9537 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000906/0.7227, allocations: 266.4 kB / 0.9539 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.723, allocations: 107.4 kB / 0.954 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of SimCode: time 8.92e-07/0.723, allocations: 0 / 0.954 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of Templates: time 0.4827/1.206, allocations: 14.94 MB / 0.9686 GB, free: 184.3 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)