Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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-master/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-master/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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009359/0.000936, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6798/0.6798, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.335/1.335, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.0008371/0.0008371, allocations: 95.2 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.628e-05/4.64e-05, allocations: 5.875 kB / 0.56 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1536, allocations: 82.3 MB / 0.6404 GB, free: 7.824 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.155/5.309, allocations: 1.694 GB / 2.334 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/5.309, allocations: 93.45 kB / 2.334 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1276/5.437, allocations: 59.24 MB / 2.392 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.386e-06/5.437, allocations: 0 / 2.392 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001587/5.437, allocations: 23.94 kB / 2.392 GB, free: 181.9 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00322/5.44, allocations: 1.066 MB / 2.393 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/5.44, allocations: 8.031 kB / 2.393 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/5.442, allocations: 190.5 kB / 2.393 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/5.443, allocations: 0.6036 MB / 2.394 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/5.443, allocations: 61.94 kB / 2.394 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/5.443, allocations: 76 kB / 2.394 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/5.445, allocations: 0.8289 MB / 2.395 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/5.445, allocations: 0 / 2.395 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/5.445, allocations: 36 kB / 2.395 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/5.445, allocations: 20 kB / 2.395 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/5.447, allocations: 1.034 MB / 2.396 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004912/5.452, allocations: 2.407 MB / 2.398 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/5.453, allocations: 0.7609 MB / 2.399 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004139/5.454, allocations: 258.5 kB / 2.399 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/5.454, allocations: 32.58 kB / 2.399 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007655/5.455, allocations: 410.1 kB / 2.4 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.186e-06/5.455, allocations: 0 / 2.4 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.001846/5.457, allocations: 0.6837 MB / 2.4 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/5.457, allocations: 244.1 kB / 2.4 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009051/5.458, allocations: 0.5776 MB / 2.401 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-05/5.458, allocations: 41.7 kB / 2.401 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/5.458, allocations: 376.2 kB / 2.401 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/5.458, allocations: 236.6 kB / 2.402 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/5.458, allocations: 12 kB / 2.402 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000126/5.458, allocations: 382.7 kB / 2.402 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/5.459, allocations: 197.5 kB / 2.402 GB, free: 171 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/5.459, allocations: 305 kB / 2.402 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/5.46, allocations: 246 kB / 2.403 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/5.46, allocations: 0 / 2.403 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00141/5.461, allocations: 0.6875 MB / 2.403 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/5.461, allocations: 8 kB / 2.403 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/5.461, allocations: 0 / 2.403 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/5.462, allocations: 84.83 kB / 2.403 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/5.462, allocations: 135.8 kB / 2.404 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/5.464, allocations: 1.521 MB / 2.405 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006577/5.465, allocations: 75.47 kB / 2.405 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/5.465, allocations: 27.98 kB / 2.405 GB, free: 167.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001759/5.465, allocations: 149.8 kB / 2.405 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/5.465, allocations: 79.05 kB / 2.405 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/5.467, allocations: 0.9692 MB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/5.467, allocations: 8 kB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/5.467, allocations: 0 / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/5.467, allocations: 3.984 kB / 2.406 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/5.47, allocations: 1.87 MB / 2.408 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/5.47, allocations: 4 kB / 2.408 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/5.471, allocations: 147.8 kB / 2.408 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004936/5.471, allocations: 80.78 kB / 2.408 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.327e-05/5.471, allocations: 23.98 kB / 2.408 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/5.473, allocations: 1.544 MB / 2.41 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/5.473, allocations: 0 / 2.41 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/5.474, allocations: 0.8613 MB / 2.411 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/5.475, allocations: 291.7 kB / 2.411 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/5.475, allocations: 19.94 kB / 2.411 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/5.476, allocations: 71.88 kB / 2.411 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/5.476, allocations: 60.7 kB / 2.411 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/5.476, allocations: 31.97 kB / 2.411 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006413/5.476, allocations: 471.2 kB / 2.412 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/5.476, allocations: 0 / 2.412 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001335/5.478, allocations: 367 kB / 2.412 GB, free: 160.5 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.002371/5.48, allocations: 1.02 MB / 2.413 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001346/5.481, allocations: 0.6785 MB / 2.414 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/5.481, allocations: 0 / 2.414 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007027/5.482, allocations: 467 kB / 2.414 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/5.483, allocations: 238.8 kB / 2.414 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/5.487, allocations: 1.328 MB / 2.416 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/5.487, allocations: 1.023 MB / 2.417 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008843/5.488, allocations: 262 kB / 2.417 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/5.489, allocations: 95.38 kB / 2.417 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/5.489, allocations: 4 kB / 2.417 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.03497/5.524, allocations: 21.89 MB / 2.438 GB, free: 133.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)