Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002264/0.002264, allocations: 181.3 kB / 7.455 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6367/0.6367, allocations: 130.6 MB / 138.5 MB, free: 2.195 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.4 MB / 391.4 MB, free: 13.03 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.001206/0.001206, allocations: 110.3 kB / 473.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.107e-05/1.109e-05, allocations: 1.438 kB / 0.5479 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2129, allocations: 81.57 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.109/4.322, allocations: 1.694 GB / 2.321 GB, free: 168.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/4.322, allocations: 95.88 kB / 2.321 GB, free: 168.6 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.1264/4.448, allocations: 60.19 MB / 2.38 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.148e-05/4.448, allocations: 24 kB / 2.38 GB, free: 108.1 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.00208/4.451, allocations: 1.121 MB / 2.381 GB, free: 107 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/4.451, allocations: 12.03 kB / 2.381 GB, free: 107 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/4.452, allocations: 198.5 kB / 2.382 GB, free: 106.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/4.453, allocations: 0.6153 MB / 2.382 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/4.453, allocations: 28 kB / 2.382 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/4.453, allocations: 48 kB / 2.382 GB, free: 106 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001404/4.454, allocations: 1.011 MB / 2.383 GB, free: 105 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/4.455, allocations: 0.7389 MB / 2.384 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/4.456, allocations: 0 / 2.384 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.251e-05/4.456, allocations: 15.78 kB / 2.384 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/4.456, allocations: 20 kB / 2.384 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/4.46, allocations: 2.475 MB / 2.386 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000971/4.461, allocations: 0.6533 MB / 2.387 GB, free: 101 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/4.461, allocations: 250.8 kB / 2.387 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.188e-05/4.461, allocations: 32.61 kB / 2.387 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/4.461, allocations: 390 kB / 2.388 GB, free: 100.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 3.096e-06/4.462, allocations: 0 / 2.388 GB, free: 100.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.001544/4.463, allocations: 0.6717 MB / 2.388 GB, free: 99.62 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/4.463, allocations: 240 kB / 2.389 GB, free: 99.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/4.464, allocations: 0.5023 MB / 2.389 GB, free: 98.83 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/4.464, allocations: 25.7 kB / 2.389 GB, free: 98.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/4.464, allocations: 308.1 kB / 2.389 GB, free: 98.49 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/4.464, allocations: 236.4 kB / 2.39 GB, free: 98.25 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/4.464, allocations: 0 / 2.39 GB, free: 98.25 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/4.464, allocations: 386.7 kB / 2.39 GB, free: 97.87 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/4.465, allocations: 193.3 kB / 2.39 GB, free: 97.68 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/4.465, allocations: 306.4 kB / 2.39 GB, free: 97.35 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/4.465, allocations: 255 kB / 2.391 GB, free: 97.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/4.465, allocations: 0 / 2.391 GB, free: 97.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001394/4.467, allocations: 0.6717 MB / 2.391 GB, free: 96.42 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/4.467, allocations: 8 kB / 2.391 GB, free: 96.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/4.467, allocations: 0 / 2.391 GB, free: 96.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/4.467, allocations: 88.77 kB / 2.391 GB, free: 96.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/4.468, allocations: 151.8 kB / 2.392 GB, free: 96.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/4.47, allocations: 1.457 MB / 2.393 GB, free: 94.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/4.47, allocations: 67.44 kB / 2.393 GB, free: 94.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-05/4.47, allocations: 36.05 kB / 2.393 GB, free: 94.49 MB / 0.6667 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 (80): * Single equations (assignments): 79 * 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.0001504/4.47, allocations: 113.7 kB / 2.393 GB, free: 94.38 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/4.471, allocations: 75.06 kB / 2.393 GB, free: 94.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/4.473, allocations: 0.9487 MB / 2.394 GB, free: 93.34 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/4.473, allocations: 8 kB / 2.394 GB, free: 93.33 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/4.473, allocations: 4 kB / 2.394 GB, free: 93.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/4.473, allocations: 3.984 kB / 2.394 GB, free: 93.32 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/4.475, allocations: 1.72 MB / 2.396 GB, free: 91.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/4.475, allocations: 0 / 2.396 GB, free: 91.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/4.476, allocations: 155.7 kB / 2.396 GB, free: 91.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000508/4.476, allocations: 88.69 kB / 2.396 GB, free: 91.31 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/4.476, allocations: 15.98 kB / 2.396 GB, free: 91.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/4.478, allocations: 1.48 MB / 2.398 GB, free: 89.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/4.478, allocations: 0 / 2.398 GB, free: 89.7 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001379/4.479, allocations: 0.8284 MB / 2.398 GB, free: 88.85 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/4.48, allocations: 287.7 kB / 2.399 GB, free: 88.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/4.48, allocations: 0 / 2.399 GB, free: 88.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/4.48, allocations: 55.95 kB / 2.399 GB, free: 88.49 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/4.481, allocations: 52.69 kB / 2.399 GB, free: 88.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/4.481, allocations: 35.98 kB / 2.399 GB, free: 88.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004281/4.481, allocations: 422.8 kB / 2.399 GB, free: 87.99 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001014/4.482, allocations: 331.1 kB / 2.4 GB, free: 87.67 MB / 0.6667 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 (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.001725/4.484, allocations: 1.062 MB / 2.401 GB, free: 86.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001115/4.485, allocations: 0.6742 MB / 2.401 GB, free: 86 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/4.485, allocations: 0 / 2.401 GB, free: 86 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006087/4.486, allocations: 456.5 kB / 2.402 GB, free: 85.55 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009166/4.486, allocations: 208.5 kB / 2.402 GB, free: 85.35 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/4.49, allocations: 1.355 MB / 2.403 GB, free: 83.96 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000693/4.491, allocations: 1.135 MB / 2.404 GB, free: 82.8 MB / 0.6667 GB Notification: Performance of SimCode: time 3.1e-07/4.491, allocations: 0 / 2.404 GB, free: 82.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.02512/4.516, allocations: 16.98 MB / 2.421 GB, free: 65.91 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)