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.001691/0.001691, allocations: 114.5 kB / 16.37 MB, free: 6.012 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.001513/0.001513, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.668/1.668, 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.002265/0.002265, allocations: 286.6 kB / 291.4 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.148/1.148, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 94.58 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2205, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006536/0.2271, allocations: 4.408 MB / 0.6859 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.67/0.8972, allocations: 150.6 MB / 0.833 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.8984, allocations: 19.88 kB / 0.833 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006925/0.8991, allocations: 174.3 kB / 0.8332 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.9013, allocations: 0.5063 MB / 0.8337 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.9038, allocations: 0.8455 MB / 0.8345 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002013/0.9058, allocations: 1.359 MB / 0.8358 GB, free: 436 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.9069, allocations: 0.6234 MB / 0.8364 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008797/0.9078, allocations: 486.3 kB / 0.8369 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/0.9084, allocations: 0.5094 MB / 0.8374 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.9086, allocations: 120 kB / 0.8375 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.9096, allocations: 479.6 kB / 0.8379 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003145/0.91, allocations: 314.9 kB / 0.8382 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005763/0.9105, allocations: 0.5557 MB / 0.8388 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.9128, allocations: 1.627 MB / 0.8404 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9128, allocations: 0 / 0.8404 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.759e-06/0.9129, allocations: 7.984 kB / 0.8404 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.9129, allocations: 0 / 0.8404 GB, free: 11.71 MB / 0.6075 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.002997/0.9159, allocations: 1.444 MB / 0.8418 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.9159, allocations: 8.031 kB / 0.8418 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.917, allocations: 195.3 kB / 0.842 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.9184, allocations: 0.7745 MB / 0.8427 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/0.9185, allocations: 66 kB / 0.8428 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.9186, allocations: 79.94 kB / 0.8429 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.9203, allocations: 0.9418 MB / 0.8438 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.9203, allocations: 0 / 0.8438 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.9204, allocations: 40 kB / 0.8438 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.9204, allocations: 24 kB / 0.8439 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.9222, allocations: 1.124 MB / 0.845 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.9266, allocations: 2.51 MB / 0.8474 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.9282, allocations: 0.9045 MB / 0.8483 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.9288, allocations: 310.7 kB / 0.8486 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.471e-05/0.9289, allocations: 32.67 kB / 0.8486 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009116/0.9299, allocations: 0.5236 MB / 0.8491 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=84): time 3.226e-06/0.9299, allocations: 0 / 0.8491 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84): time 0.003336/0.9332, allocations: 1.243 MB / 0.8504 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.9334, allocations: 190.8 kB / 0.8505 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00092/0.9343, allocations: 0.6449 MB / 0.8512 GB, free: 356 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.209e-05/0.9344, allocations: 41.7 kB / 0.8512 GB, free: 308 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/0.9348, allocations: 398.3 kB / 0.8516 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.9351, allocations: 272.2 kB / 0.8518 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/0.9353, allocations: 170.5 kB / 0.852 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.9355, allocations: 390.7 kB / 0.8524 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.9361, allocations: 277.8 kB / 0.8526 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006697/0.9368, allocations: 375.1 kB / 0.853 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.938, allocations: 0.6203 MB / 0.8536 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.938, allocations: 0.5 kB / 0.8536 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002226/0.9403, allocations: 0.8799 MB / 0.8545 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.9403, allocations: 8 kB / 0.8545 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.9403, allocations: 4.094 kB / 0.8545 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006357/0.941, allocations: 84.7 kB / 0.8546 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.9417, allocations: 167.8 kB / 0.8547 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.9441, allocations: 1.629 MB / 0.8563 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009577/0.945, allocations: 95.38 kB / 0.8564 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.548e-05/0.9451, allocations: 39.97 kB / 0.8564 GB, free: 10.73 MB / 0.6231 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.0005924/0.9457, allocations: 269.1 kB / 0.8567 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.946, allocations: 90.89 kB / 0.8568 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/0.9486, allocations: 1.14 MB / 0.8579 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.9487, allocations: 8 kB / 0.8579 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9487, allocations: 7.938 kB / 0.8579 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.9487, allocations: 3.984 kB / 0.8579 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003671/0.9524, allocations: 2.026 MB / 0.8599 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.9524, allocations: 0 / 0.8599 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/0.953, allocations: 151.7 kB / 0.86 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/0.9535, allocations: 80.77 kB / 0.8601 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/0.9536, allocations: 27.97 kB / 0.8601 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.9561, allocations: 1.658 MB / 0.8618 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.9562, allocations: 3.984 kB / 0.8618 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.9588, allocations: 1.045 MB / 0.8628 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/0.9594, allocations: 271.7 kB / 0.863 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.9595, allocations: 24 kB / 0.8631 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/0.9602, allocations: 67.92 kB / 0.8631 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.9604, allocations: 77.03 kB / 0.8632 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.9604, allocations: 43.91 kB / 0.8632 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006633/0.9611, allocations: 459 kB / 0.8637 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9611, allocations: 0 / 0.8637 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001065/0.9622, allocations: 327.2 kB / 0.864 GB, free: 2.719 MB / 0.6231 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.001558/0.9638, allocations: 0.6135 MB / 0.8646 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.9657, allocations: 0.8703 MB / 0.8654 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.9657, allocations: 4 kB / 0.8654 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.9668, allocations: 0.5314 MB / 0.866 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.968, allocations: 299.4 kB / 0.8663 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.9722, allocations: 1.787 MB / 0.868 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.9729, allocations: 1.035 MB / 0.869 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009356/0.9739, allocations: 274.8 kB / 0.8693 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.9742, allocations: 111.4 kB / 0.8694 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/0.9742, allocations: 0 / 0.8694 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of Templates: time 0.03035/1.005, allocations: 15.25 MB / 0.8843 GB, free: 14.29 MB / 0.6544 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)