Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [: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.002734/0.002734, allocations: 173.9 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6435/0.6435, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.291/1.291, allocations: 221.3 MB / 395 MB, free: 10.18 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.0009481/0.000948, allocations: 100.7 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.214e-06/7.234e-06, allocations: 0 / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1921, allocations: 82.31 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.491/4.683, allocations: 1.693 GB / 2.326 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/4.683, allocations: 92.55 kB / 2.326 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1342/4.818, allocations: 59.09 MB / 2.384 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001569/4.818, allocations: 27.94 kB / 2.384 GB, free: 200.3 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003672/4.822, allocations: 1.074 MB / 2.385 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/4.822, allocations: 8.031 kB / 2.385 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/4.823, allocations: 202.6 kB / 2.385 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/4.824, allocations: 0.6113 MB / 2.386 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/4.824, allocations: 24 kB / 2.386 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/4.825, allocations: 44 kB / 2.386 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001612/4.826, allocations: 0.9679 MB / 2.387 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/4.827, allocations: 0.6921 MB / 2.387 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/4.827, allocations: 7.969 kB / 2.387 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.624e-05/4.828, allocations: 4 kB / 2.387 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/4.828, allocations: 20 kB / 2.387 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/4.831, allocations: 2.235 MB / 2.39 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009402/4.832, allocations: 0.6975 MB / 2.39 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/4.832, allocations: 238.7 kB / 2.39 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.896e-05/4.832, allocations: 32.61 kB / 2.39 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/4.833, allocations: 366 kB / 2.391 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.014e-06/4.833, allocations: 3.938 kB / 2.391 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001511/4.834, allocations: 0.6171 MB / 2.391 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.713e-05/4.834, allocations: 240 kB / 2.392 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/4.835, allocations: 0.4905 MB / 2.392 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/4.835, allocations: 29.7 kB / 2.392 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/4.835, allocations: 288.2 kB / 2.392 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/4.835, allocations: 228.6 kB / 2.393 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/4.835, allocations: 3.938 kB / 2.393 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001166/4.836, allocations: 374.8 kB / 2.393 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/4.836, allocations: 181.3 kB / 2.393 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/4.836, allocations: 278.4 kB / 2.393 GB, free: 190 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/4.837, allocations: 231.1 kB / 2.394 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/4.837, allocations: 3.938 kB / 2.394 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001395/4.838, allocations: 0.621 MB / 2.394 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/4.838, allocations: 8 kB / 2.394 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/4.838, allocations: 0 / 2.394 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006687/4.839, allocations: 88.77 kB / 2.394 GB, free: 189 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/4.839, allocations: 127.9 kB / 2.394 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/4.841, allocations: 1.453 MB / 2.396 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/4.842, allocations: 71.5 kB / 2.396 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/4.842, allocations: 31.97 kB / 2.396 GB, free: 187.2 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 (72): * Single equations (assignments): 71 * 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.0001896/4.842, allocations: 120.8 kB / 2.396 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/4.842, allocations: 67.16 kB / 2.396 GB, free: 187 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/4.844, allocations: 0.8813 MB / 2.397 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/4.844, allocations: 11.98 kB / 2.397 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/4.844, allocations: 3.938 kB / 2.397 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/4.844, allocations: 7.922 kB / 2.397 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/4.847, allocations: 1.651 MB / 2.399 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/4.847, allocations: 0 / 2.399 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/4.848, allocations: 139.8 kB / 2.399 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000517/4.848, allocations: 80.78 kB / 2.399 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/4.848, allocations: 15.98 kB / 2.399 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/4.85, allocations: 1.488 MB / 2.4 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/4.85, allocations: 0 / 2.4 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001342/4.851, allocations: 0.7895 MB / 2.401 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/4.851, allocations: 271.9 kB / 2.401 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/4.852, allocations: 0 / 2.401 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/4.852, allocations: 59.94 kB / 2.401 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/4.852, allocations: 48.64 kB / 2.401 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/4.852, allocations: 31.98 kB / 2.402 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004507/4.853, allocations: 402.9 kB / 2.402 GB, free: 181 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00101/4.854, allocations: 327 kB / 2.402 GB, free: 180.6 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 (81): * Single equations (assignments): 78 * 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.001741/4.856, allocations: 1.045 MB / 2.403 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001105/4.857, allocations: 0.6234 MB / 2.404 GB, free: 179 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/4.857, allocations: 7.938 kB / 2.404 GB, free: 179 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006227/4.857, allocations: 420.7 kB / 2.404 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/4.858, allocations: 217.8 kB / 2.404 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/4.862, allocations: 1.299 MB / 2.406 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007438/4.863, allocations: 1.115 MB / 2.407 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/4.863, allocations: 4 kB / 2.407 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.0256/4.888, allocations: 16.36 MB / 2.423 GB, free: 159.7 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)