Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 110.3 kB / 16.41 MB, free: 6.027 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.001496/0.001497, allocations: 188.1 kB / 17.34 MB, free: 5.633 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.378/1.378, 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.00233/0.00233, allocations: 295.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 95.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5239/0.5258, allocations: 86.97 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006967/0.5328, allocations: 4.416 MB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.7044, allocations: 150.6 MB / 0.9184 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009107/0.7054, allocations: 19.88 kB / 0.9184 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007314/0.7061, allocations: 170.3 kB / 0.9186 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.7084, allocations: 0.5217 MB / 0.9191 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.7107, allocations: 0.8343 MB / 0.9199 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00191/0.7126, allocations: 1.351 MB / 0.9212 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.7138, allocations: 0.6294 MB / 0.9218 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009486/0.7147, allocations: 0.4904 MB / 0.9223 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008996/0.7157, allocations: 0.5095 MB / 0.9228 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000318/0.716, allocations: 120 kB / 0.9229 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.7173, allocations: 483.6 kB / 0.9234 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.7177, allocations: 303 kB / 0.9237 GB, free: 2.891 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008133/0.7185, allocations: 0.5596 MB / 0.9242 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.721, allocations: 1.63 MB / 0.9258 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.721, allocations: 7.984 kB / 0.9258 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.793e-06/0.721, allocations: 0 / 0.9258 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.822e-05/0.7211, allocations: 0 / 0.9258 GB, free: 0.6875 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003246/0.7243, allocations: 1.448 MB / 0.9272 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.7244, allocations: 8.031 kB / 0.9272 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.7254, allocations: 187.4 kB / 0.9274 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.7268, allocations: 0.7818 MB / 0.9282 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.766e-05/0.7269, allocations: 66 kB / 0.9283 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.727, allocations: 84 kB / 0.9283 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.7288, allocations: 0.934 MB / 0.9292 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.7288, allocations: 4 kB / 0.9292 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.999e-05/0.7289, allocations: 36 kB / 0.9293 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.7289, allocations: 20 kB / 0.9293 GB, free: 13 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.7308, allocations: 1.128 MB / 0.9304 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004256/0.735, allocations: 2.511 MB / 0.9329 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.7367, allocations: 0.9109 MB / 0.9337 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/0.7373, allocations: 314.7 kB / 0.934 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.049e-05/0.7373, allocations: 36.62 kB / 0.9341 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008994/0.7383, allocations: 0.5081 MB / 0.9346 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 3.276e-06/0.7383, allocations: 0 / 0.9346 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.003253/0.7415, allocations: 1.247 MB / 0.9358 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.7417, allocations: 192.9 kB / 0.936 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009014/0.7426, allocations: 0.6449 MB / 0.9366 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.567e-05/0.7427, allocations: 41.7 kB / 0.9366 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.743, allocations: 404.4 kB / 0.937 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.7433, allocations: 268.2 kB / 0.9373 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.7436, allocations: 174.5 kB / 0.9375 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.7437, allocations: 382.8 kB / 0.9378 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005546/0.7443, allocations: 277.8 kB / 0.9381 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/0.745, allocations: 375.1 kB / 0.9384 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.7462, allocations: 0.6281 MB / 0.9391 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.7462, allocations: 0 / 0.9391 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002201/0.7485, allocations: 0.876 MB / 0.9399 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.7485, allocations: 4 kB / 0.9399 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.7485, allocations: 3.938 kB / 0.9399 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006429/0.7492, allocations: 84.86 kB / 0.94 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.7499, allocations: 171.7 kB / 0.9402 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.7525, allocations: 1.627 MB / 0.9418 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008993/0.7534, allocations: 95.19 kB / 0.9418 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.7536, allocations: 39.97 kB / 0.9419 GB, free: 15.7 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (99): * Single equations (assignments): 98 * 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.0006233/0.7542, allocations: 278.8 kB / 0.9421 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.7545, allocations: 90.95 kB / 0.9422 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.7572, allocations: 1.124 MB / 0.9433 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.7572, allocations: 15.94 kB / 0.9433 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7572, allocations: 0 / 0.9433 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.7572, allocations: 7.922 kB / 0.9434 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/0.7612, allocations: 2.018 MB / 0.9453 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.7612, allocations: 4 kB / 0.9453 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006632/0.7619, allocations: 155.8 kB / 0.9455 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005093/0.7624, allocations: 68.8 kB / 0.9455 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/0.7625, allocations: 31.91 kB / 0.9456 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/0.7649, allocations: 1.658 MB / 0.9472 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.7649, allocations: 4.125 kB / 0.9472 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.7672, allocations: 1.053 MB / 0.9482 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.7677, allocations: 275.7 kB / 0.9485 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.7679, allocations: 20 kB / 0.9485 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006958/0.7686, allocations: 63.92 kB / 0.9486 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.7688, allocations: 76.89 kB / 0.9486 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.203e-05/0.7689, allocations: 39.97 kB / 0.9487 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000605/0.7695, allocations: 467 kB / 0.9491 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7695, allocations: 3.938 kB / 0.9491 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001004/0.7705, allocations: 323.2 kB / 0.9494 GB, free: 7.695 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: 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 (99): * Single equations (assignments): 92 * 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.001505/0.772, allocations: 0.5972 MB / 0.95 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001886/0.7739, allocations: 0.8779 MB / 0.9509 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7739, allocations: 3.938 kB / 0.9509 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009932/0.7749, allocations: 0.5433 MB / 0.9514 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.7762, allocations: 291.9 kB / 0.9517 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.7804, allocations: 1.828 MB / 0.9535 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/0.7811, allocations: 1.043 MB / 0.9545 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.7815, allocations: 115.4 kB / 0.9546 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of SimCode: time 1.162e-06/0.7815, allocations: 0 / 0.9546 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of Templates: time 0.3773/1.159, allocations: 18.9 MB / 0.9731 GB, free: 179.4 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)