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/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7764/0.7764, allocations: 143.4 MB / 159.2 MB, free: 4.898 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 186.9 kB / 191.9 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 447.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 111.7 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001856/0.001856, allocations: 284.5 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 72.17 kB / 0.6885 GB, free: 3.867 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3121, allocations: 81.3 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004369/0.3165, allocations: 4.069 MB / 0.7719 GB, free: 23.6 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4471/0.7637, allocations: 148.1 MB / 0.9166 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006895/0.7644, allocations: 19.66 kB / 0.9166 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.765, allocations: 130.3 kB / 0.9167 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.7662, allocations: 397.4 kB / 0.9171 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.7679, allocations: 0.6861 MB / 0.9178 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.7692, allocations: 1.105 MB / 0.9188 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007965/0.77, allocations: 0.6014 MB / 0.9194 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005019/0.7705, allocations: 368.9 kB / 0.9198 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.771, allocations: 411.2 kB / 0.9202 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-05/0.7711, allocations: 53.12 kB / 0.9202 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007639/0.7719, allocations: 391.2 kB / 0.9206 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.7721, allocations: 222.1 kB / 0.9208 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.7725, allocations: 447.6 kB / 0.9212 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.7739, allocations: 1.409 MB / 0.9226 GB, free: 15.74 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7739, allocations: 2.875 kB / 0.9226 GB, free: 15.74 MB / 0.573 GB Notification: Performance of FrontEnd: time 8.92e-07/0.7739, allocations: 0 / 0.9226 GB, free: 15.74 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.7739, allocations: 0 / 0.9226 GB, free: 15.74 MB / 0.573 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.002003/0.776, allocations: 1.309 MB / 0.9239 GB, free: 15.02 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.776, allocations: 9.5 kB / 0.9239 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000825/0.7768, allocations: 175.2 kB / 0.9241 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009061/0.7778, allocations: 0.6998 MB / 0.9247 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.1e-05/0.7778, allocations: 61.62 kB / 0.9248 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-05/0.7779, allocations: 75.09 kB / 0.9249 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.7792, allocations: 0.8536 MB / 0.9257 GB, free: 14.51 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.7792, allocations: 3.375 kB / 0.9257 GB, free: 14.51 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/0.7793, allocations: 35.36 kB / 0.9257 GB, free: 14.51 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.7793, allocations: 19.88 kB / 0.9258 GB, free: 14.51 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.7808, allocations: 1.066 MB / 0.9268 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.7841, allocations: 2.385 MB / 0.9291 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.7854, allocations: 0.7949 MB / 0.9299 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.786, allocations: 273 kB / 0.9302 GB, free: 13.59 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.592e-05/0.7861, allocations: 29.19 kB / 0.9302 GB, free: 13.59 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007774/0.7868, allocations: 426.4 kB / 0.9306 GB, free: 13.52 MB / 0.573 GB Notification: Performance of pre-optimization done (n=70): time 2.815e-06/0.7869, allocations: 0 / 0.9306 GB, free: 13.52 MB / 0.573 GB Notification: Performance of matching and sorting (n=70): time 0.002829/0.7897, allocations: 1.065 MB / 0.9316 GB, free: 13.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.894e-05/0.7898, allocations: 186.9 kB / 0.9318 GB, free: 13.11 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008992/0.7907, allocations: 0.5845 MB / 0.9324 GB, free: 12.97 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.7908, allocations: 36.8 kB / 0.9324 GB, free: 12.94 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.7911, allocations: 366.7 kB / 0.9328 GB, free: 12.77 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.7913, allocations: 236.2 kB / 0.933 GB, free: 12.62 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.7916, allocations: 149.5 kB / 0.9331 GB, free: 12.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7917, allocations: 380.9 kB / 0.9335 GB, free: 12.28 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/0.7923, allocations: 237.4 kB / 0.9337 GB, free: 12.28 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/0.793, allocations: 317.3 kB / 0.934 GB, free: 12.23 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009586/0.7939, allocations: 0.5481 MB / 0.9346 GB, free: 12.18 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.794, allocations: 0 / 0.9346 GB, free: 12.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001729/0.7957, allocations: 0.7646 MB / 0.9353 GB, free: 12.09 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.7957, allocations: 5.031 kB / 0.9353 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.7957, allocations: 0 / 0.9353 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005706/0.7963, allocations: 87.34 kB / 0.9354 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.7968, allocations: 139.6 kB / 0.9355 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.7987, allocations: 1.537 MB / 0.937 GB, free: 10.78 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/0.7994, allocations: 77.58 kB / 0.9371 GB, free: 10.75 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.7994, allocations: 35.06 kB / 0.9371 GB, free: 10.75 MB / 0.573 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.0003857/0.7998, allocations: 255.1 kB / 0.9374 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.8, allocations: 70 kB / 0.9375 GB, free: 10.59 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.802, allocations: 0.9699 MB / 0.9384 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.802, allocations: 10.03 kB / 0.9384 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.802, allocations: 1.203 kB / 0.9384 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.802, allocations: 8.766 kB / 0.9384 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.8049, allocations: 1.83 MB / 0.9402 GB, free: 10.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.8049, allocations: 0 / 0.9402 GB, free: 10.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.8054, allocations: 134.8 kB / 0.9403 GB, free: 10.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/0.8058, allocations: 87.86 kB / 0.9404 GB, free: 10.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.8059, allocations: 21.5 kB / 0.9404 GB, free: 10.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.8076, allocations: 1.557 MB / 0.942 GB, free: 8.793 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8076, allocations: 2.625 kB / 0.942 GB, free: 8.793 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.81, allocations: 1.901 MB / 0.9438 GB, free: 7.969 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.8103, allocations: 253.5 kB / 0.9441 GB, free: 7.828 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.003e-05/0.8104, allocations: 13.91 kB / 0.9441 GB, free: 7.828 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.811, allocations: 52.62 kB / 0.9441 GB, free: 7.824 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.8111, allocations: 58.92 kB / 0.9442 GB, free: 7.824 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.8112, allocations: 30.33 kB / 0.9442 GB, free: 7.824 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004348/0.8116, allocations: 423.9 kB / 0.9446 GB, free: 7.734 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8116, allocations: 4 kB / 0.9446 GB, free: 7.73 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008762/0.8125, allocations: 289.9 kB / 0.9449 GB, free: 7.68 MB / 0.573 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.001205/0.8137, allocations: 0.6017 MB / 0.9455 GB, free: 7.457 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.8151, allocations: 0.7481 MB / 0.9462 GB, free: 7.324 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.8152, allocations: 0 / 0.9462 GB, free: 7.324 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007559/0.8159, allocations: 478.9 kB / 0.9467 GB, free: 7.203 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.817, allocations: 263.6 kB / 0.9469 GB, free: 7.188 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.8209, allocations: 2.447 MB / 0.9493 GB, free: 6.012 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.8214, allocations: 1.006 MB / 0.9503 GB, free: 5.293 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007661/0.8222, allocations: 259.3 kB / 0.9505 GB, free: 5.215 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.8224, allocations: 99.02 kB / 0.9506 GB, free: 5.203 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/0.8224, allocations: 0 / 0.9506 GB, free: 5.203 MB / 0.573 GB Notification: Performance of Templates: time 0.02136/0.8437, allocations: 13.47 MB / 0.9638 GB, free: 15.33 MB / 0.5886 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)