Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.21/2.21, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 187.1 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 95.7 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 50.06 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2935, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004991/0.2985, allocations: 4.085 MB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1414/0.44, allocations: 148.1 MB / 1.367 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.4415, allocations: 19.88 kB / 1.367 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.4421, allocations: 135 kB / 1.367 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.4437, allocations: 390.1 kB / 1.367 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.4459, allocations: 0.6922 MB / 1.368 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.4471, allocations: 1.098 MB / 1.369 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009126/0.448, allocations: 0.5978 MB / 1.37 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.4487, allocations: 370.4 kB / 1.37 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004847/0.4491, allocations: 414.1 kB / 1.37 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.4493, allocations: 52 kB / 1.37 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000891/0.4502, allocations: 391.6 kB / 1.371 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.4504, allocations: 223.1 kB / 1.371 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004018/0.4508, allocations: 449.3 kB / 1.371 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.4524, allocations: 1.406 MB / 1.373 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4525, allocations: 0 / 1.373 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4525, allocations: 7.875 kB / 1.373 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.4525, allocations: 0 / 1.373 GB, free: 6.246 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002333/0.4548, allocations: 1.303 MB / 1.374 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.4549, allocations: 15.98 kB / 1.374 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/0.4558, allocations: 175.5 kB / 1.374 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.4568, allocations: 0.7072 MB / 1.375 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.4569, allocations: 54 kB / 1.375 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.772e-05/0.457, allocations: 76 kB / 1.375 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.4584, allocations: 0.8598 MB / 1.376 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.4584, allocations: 3.984 kB / 1.376 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.486e-05/0.4585, allocations: 36 kB / 1.376 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.4585, allocations: 23.98 kB / 1.376 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.4602, allocations: 1.057 MB / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003694/0.4639, allocations: 2.39 MB / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.4652, allocations: 0.7959 MB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.4657, allocations: 274.4 kB / 1.38 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.938e-05/0.4658, allocations: 28.59 kB / 1.38 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008094/0.4666, allocations: 421.8 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 2.415e-06/0.4666, allocations: 0 / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002919/0.4695, allocations: 1.066 MB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.4697, allocations: 192.5 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.4704, allocations: 0.5783 MB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/0.4705, allocations: 41.7 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.4708, allocations: 368.2 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.471, allocations: 228.6 kB / 1.383 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.4713, allocations: 154.5 kB / 1.383 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4714, allocations: 378.8 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.4719, allocations: 233.9 kB / 1.384 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/0.4725, allocations: 318.8 kB / 1.384 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009473/0.4734, allocations: 0.5468 MB / 1.385 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4734, allocations: 0 / 1.385 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001705/0.4752, allocations: 0.7665 MB / 1.386 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.4752, allocations: 7.984 kB / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4752, allocations: 0 / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005802/0.4758, allocations: 80.88 kB / 1.386 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.4764, allocations: 143.8 kB / 1.386 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.4785, allocations: 1.547 MB / 1.387 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/0.4791, allocations: 79.39 kB / 1.387 GB, free: 6.812 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.4792, allocations: 31.98 kB / 1.387 GB, free: 6.781 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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.0004367/0.4796, allocations: 254.3 kB / 1.388 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.4798, allocations: 71.16 kB / 1.388 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.4819, allocations: 0.9664 MB / 1.389 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4819, allocations: 8.094 kB / 1.389 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4819, allocations: 3.984 kB / 1.389 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.4819, allocations: 3.984 kB / 1.389 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.4849, allocations: 1.832 MB / 1.39 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4849, allocations: 0 / 1.39 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.4854, allocations: 135.8 kB / 1.391 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005077/0.4859, allocations: 84.77 kB / 1.391 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.486, allocations: 19.98 kB / 1.391 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.4877, allocations: 1.559 MB / 1.392 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4877, allocations: 3.984 kB / 1.392 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.4905, allocations: 1.889 MB / 1.394 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.4908, allocations: 259.8 kB / 1.394 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.491, allocations: 19.94 kB / 1.394 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/0.4915, allocations: 54.05 kB / 1.394 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.4916, allocations: 56.91 kB / 1.394 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.691e-05/0.4917, allocations: 31.98 kB / 1.394 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005518/0.4923, allocations: 423.1 kB / 1.395 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.4923, allocations: 4 kB / 1.395 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009569/0.4933, allocations: 291.3 kB / 1.395 GB, free: 14.55 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001449/0.4947, allocations: 0.6009 MB / 1.396 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.4963, allocations: 0.7396 MB / 1.396 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4963, allocations: 0 / 1.396 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008354/0.4972, allocations: 488.2 kB / 1.397 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.4984, allocations: 254.5 kB / 1.397 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.5029, allocations: 2.449 MB / 1.4 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.5036, allocations: 1.004 MB / 1.4 GB, free: 9.125 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008684/0.5045, allocations: 253.9 kB / 1.401 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.5048, allocations: 99.39 kB / 1.401 GB, free: 8.777 MB / 0.9011 GB Notification: Performance of SimCode: time 1.112e-06/0.5048, allocations: 0 / 1.401 GB, free: 8.777 MB / 0.9011 GB Notification: Performance of Templates: time 0.02385/0.5287, allocations: 13.46 MB / 1.414 GB, free: 11.44 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)