Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008816/0.008816, allocations: 170.8 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7609/0.7609, allocations: 132.3 MB / 148.1 MB, free: 260 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.2 MB / 403.2 MB, free: 6.75 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.001167/0.001167, allocations: 91 kB / 485.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 8 kB / 0.5641 GB, free: 2.098 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.4993, allocations: 81.58 MB / 0.6438 GB, free: 39.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.29/4.789, allocations: 1.693 GB / 2.337 GB, free: 47.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/4.79, allocations: 103.9 kB / 2.337 GB, free: 47.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6682/5.458, allocations: 59.6 MB / 2.395 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.442e-06/5.458, allocations: 0 / 2.395 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001128/5.458, allocations: 31.56 kB / 2.396 GB, free: 233.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003196/5.462, allocations: 1.187 MB / 2.397 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.496e-05/5.462, allocations: 9.594 kB / 2.397 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/5.463, allocations: 191.1 kB / 2.397 GB, free: 233 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/5.464, allocations: 0.6148 MB / 2.397 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/5.464, allocations: 59.03 kB / 2.398 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/5.464, allocations: 76.84 kB / 2.398 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/5.466, allocations: 0.8653 MB / 2.398 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/5.466, allocations: 0 / 2.398 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/5.466, allocations: 33.25 kB / 2.398 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/5.466, allocations: 19.56 kB / 2.398 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/5.468, allocations: 1.081 MB / 2.4 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/5.472, allocations: 2.415 MB / 2.402 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/5.473, allocations: 0.8055 MB / 2.403 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-05/5.473, allocations: 35.56 kB / 2.403 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006601/5.474, allocations: 431.1 kB / 2.403 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 4.719e-06/5.474, allocations: 0 / 2.403 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002876/5.477, allocations: 1.102 MB / 2.404 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/5.477, allocations: 249.6 kB / 2.404 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008367/5.477, allocations: 0.5779 MB / 2.405 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.37e-05/5.478, allocations: 41.45 kB / 2.405 GB, free: 231 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/5.478, allocations: 375.6 kB / 2.405 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/5.478, allocations: 238.4 kB / 2.406 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/5.478, allocations: 13.47 kB / 2.406 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00011/5.478, allocations: 382.2 kB / 2.406 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/5.479, allocations: 215.5 kB / 2.406 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/5.479, allocations: 342.2 kB / 2.407 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/5.48, allocations: 256.6 kB / 2.407 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/5.48, allocations: 0 / 2.407 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001643/5.481, allocations: 0.7301 MB / 2.408 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/5.481, allocations: 9.812 kB / 2.408 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/5.481, allocations: 3.953 kB / 2.408 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006402/5.482, allocations: 83.73 kB / 2.408 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/5.482, allocations: 140.3 kB / 2.408 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/5.484, allocations: 1.538 MB / 2.409 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/5.485, allocations: 83.2 kB / 2.409 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/5.485, allocations: 33.19 kB / 2.409 GB, free: 228.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005059/5.486, allocations: 242.7 kB / 2.41 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/5.486, allocations: 77.59 kB / 2.41 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/5.488, allocations: 1.025 MB / 2.411 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/5.488, allocations: 7.219 kB / 2.411 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/5.488, allocations: 0 / 2.411 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/5.488, allocations: 3.469 kB / 2.411 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/5.491, allocations: 1.918 MB / 2.413 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/5.491, allocations: 3.156 kB / 2.413 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/5.492, allocations: 147.2 kB / 2.413 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005314/5.492, allocations: 94.23 kB / 2.413 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/5.492, allocations: 26.22 kB / 2.413 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/5.494, allocations: 1.554 MB / 2.414 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/5.494, allocations: 2.688 kB / 2.414 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/5.496, allocations: 0.9252 MB / 2.415 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000506/5.497, allocations: 283.5 kB / 2.415 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/5.497, allocations: 18.69 kB / 2.416 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005619/5.497, allocations: 62.98 kB / 2.416 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/5.497, allocations: 65.91 kB / 2.416 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/5.497, allocations: 31.42 kB / 2.416 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007379/5.498, allocations: 479.9 kB / 2.416 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/5.498, allocations: 5.625 kB / 2.416 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001467/5.5, allocations: 360.8 kB / 2.416 GB, free: 226.3 MB / 0.6823 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 (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002478/5.502, allocations: 1.066 MB / 2.418 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001732/5.504, allocations: 0.7278 MB / 2.418 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/5.504, allocations: 0 / 2.418 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008475/5.505, allocations: 0.4983 MB / 2.419 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/5.506, allocations: 236.5 kB / 2.419 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/5.51, allocations: 2.087 MB / 2.421 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/5.511, allocations: 1.02 MB / 2.422 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009529/5.512, allocations: 252 kB / 2.422 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/5.512, allocations: 95.33 kB / 2.422 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.794e-06/5.512, allocations: 4 kB / 2.422 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.03333/5.545, allocations: 20.24 MB / 2.442 GB, free: 214.5 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)