Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6962/0.6962, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 222.9 MB / 403.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009593/0.0009589, allocations: 106.8 kB / 484.4 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001068, allocations: 56.11 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1473, allocations: 80.2 MB / 0.6402 GB, free: 6.812 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006966/0.1544, allocations: 4.102 MB / 0.6442 GB, free: 2.684 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4448/0.5992, allocations: 148.1 MB / 0.7888 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006948/0.6, allocations: 15.94 kB / 0.7888 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.6005, allocations: 130 kB / 0.789 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.6017, allocations: 407 kB / 0.7894 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.6034, allocations: 0.6835 MB / 0.79 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009839/0.6044, allocations: 1.095 MB / 0.7911 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007599/0.6052, allocations: 0.6026 MB / 0.7917 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004365/0.6056, allocations: 366.5 kB / 0.792 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.606, allocations: 417.9 kB / 0.7924 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.6061, allocations: 52 kB / 0.7925 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006852/0.6068, allocations: 390.4 kB / 0.7928 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.6071, allocations: 219.1 kB / 0.7931 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.6074, allocations: 449.4 kB / 0.7935 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.6087, allocations: 1.413 MB / 0.7949 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6087, allocations: 4 kB / 0.7949 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.41e-07/0.6087, allocations: 0 / 0.7949 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.6088, allocations: 0 / 0.7949 GB, free: 4.73 MB / 0.5261 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.002102/0.6109, allocations: 1.311 MB / 0.7962 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.6109, allocations: 8.031 kB / 0.7962 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000851/0.6118, allocations: 175.5 kB / 0.7963 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009565/0.6127, allocations: 0.7037 MB / 0.797 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.6128, allocations: 58 kB / 0.7971 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.115e-05/0.6129, allocations: 72 kB / 0.7971 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.6142, allocations: 0.8559 MB / 0.798 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.6142, allocations: 3.938 kB / 0.798 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.6143, allocations: 36 kB / 0.798 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.6143, allocations: 20 kB / 0.798 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.616, allocations: 1.054 MB / 0.7991 GB, free: 308 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.6194, allocations: 2.398 MB / 0.8014 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.6207, allocations: 0.798 MB / 0.8022 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.6212, allocations: 274.4 kB / 0.8024 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-05/0.6213, allocations: 32.58 kB / 0.8025 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007025/0.622, allocations: 421.7 kB / 0.8029 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 2.214e-06/0.622, allocations: 0 / 0.8029 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=70): time 0.002817/0.6248, allocations: 1.07 MB / 0.8039 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.774e-05/0.6249, allocations: 192.5 kB / 0.8041 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006676/0.6256, allocations: 0.5783 MB / 0.8047 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.6257, allocations: 41.7 kB / 0.8047 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.6259, allocations: 364.3 kB / 0.8051 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.6261, allocations: 228.6 kB / 0.8053 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.6263, allocations: 150.5 kB / 0.8054 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6265, allocations: 378.8 kB / 0.8058 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.627, allocations: 237.9 kB / 0.806 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.6275, allocations: 322.8 kB / 0.8063 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/0.6285, allocations: 0.5429 MB / 0.8068 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6285, allocations: 4 kB / 0.8068 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001689/0.6302, allocations: 0.7626 MB / 0.8076 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6302, allocations: 4 kB / 0.8076 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6302, allocations: 6.062 kB / 0.8076 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/0.6308, allocations: 84.84 kB / 0.8077 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.6314, allocations: 143.8 kB / 0.8078 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.6334, allocations: 1.532 MB / 0.8093 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.634, allocations: 72.39 kB / 0.8094 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.634, allocations: 31.97 kB / 0.8094 GB, free: 5.301 MB / 0.5417 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.000374/0.6344, allocations: 262.3 kB / 0.8097 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.6346, allocations: 75.06 kB / 0.8097 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.6367, allocations: 0.9657 MB / 0.8107 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.6368, allocations: 8 kB / 0.8107 GB, free: 3.984 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6368, allocations: 3.984 kB / 0.8107 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.6368, allocations: 7.984 kB / 0.8107 GB, free: 3.973 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.6397, allocations: 1.832 MB / 0.8125 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.6397, allocations: 0 / 0.8125 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.6403, allocations: 135.8 kB / 0.8126 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000523/0.6408, allocations: 84.77 kB / 0.8127 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.6408, allocations: 27.73 kB / 0.8127 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.6427, allocations: 1.556 MB / 0.8142 GB, free: 152 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6427, allocations: 0 / 0.8142 GB, free: 152 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/0.6454, allocations: 1.893 MB / 0.8161 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.6458, allocations: 251.8 kB / 0.8163 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.952e-05/0.6459, allocations: 20 kB / 0.8164 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.6464, allocations: 65.69 kB / 0.8164 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.6466, allocations: 52.92 kB / 0.8165 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.6466, allocations: 31.98 kB / 0.8165 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004999/0.6471, allocations: 423 kB / 0.8169 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6472, allocations: 0 / 0.8169 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008425/0.648, allocations: 291.3 kB / 0.8172 GB, free: 13.07 MB / 0.5573 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.001222/0.6492, allocations: 0.579 MB / 0.8177 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.6507, allocations: 0.7517 MB / 0.8185 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6507, allocations: 3.938 kB / 0.8185 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008568/0.6516, allocations: 480.3 kB / 0.8189 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.6527, allocations: 263.7 kB / 0.8192 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.6567, allocations: 2.439 MB / 0.8216 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.6573, allocations: 1.011 MB / 0.8226 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007668/0.658, allocations: 257.8 kB / 0.8228 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.6583, allocations: 95.39 kB / 0.8229 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of SimCode: time 4.51e-07/0.6583, allocations: 4 kB / 0.8229 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of Templates: time 0.02075/0.679, allocations: 13.44 MB / 0.836 GB, free: 9.969 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)