Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [: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.003201/0.003201, allocations: 183.7 kB / 7.456 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6549/0.6549, allocations: 130.6 MB / 138.5 MB, free: 2.203 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.34/1.34, allocations: 221.3 MB / 391.4 MB, free: 13.05 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.0008243/0.000824, allocations: 104.7 kB / 473.5 MB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/6.913e-06, allocations: 3.906 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1279, allocations: 81.58 MB / 0.6276 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.005/4.133, allocations: 1.693 GB / 2.32 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004391/4.133, allocations: 93.84 kB / 2.321 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1583/4.292, allocations: 59.25 MB / 2.378 GB, free: 185 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001325/4.292, allocations: 23.94 kB / 2.378 GB, free: 185 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.003492/4.295, allocations: 1.097 MB / 2.38 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/4.295, allocations: 12.03 kB / 2.38 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/4.297, allocations: 194.6 kB / 2.38 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/4.299, allocations: 0.6055 MB / 2.38 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/4.299, allocations: 28 kB / 2.38 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/4.299, allocations: 47.94 kB / 2.38 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001807/4.301, allocations: 0.9689 MB / 2.381 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/4.302, allocations: 0.7095 MB / 2.382 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/4.302, allocations: 0 / 2.382 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/4.302, allocations: 3.906 kB / 2.382 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/4.302, allocations: 20 kB / 2.382 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004837/4.307, allocations: 2.247 MB / 2.384 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/4.308, allocations: 0.6381 MB / 2.385 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/4.309, allocations: 232.5 kB / 2.385 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/4.309, allocations: 28.64 kB / 2.385 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005352/4.309, allocations: 366.4 kB / 2.385 GB, free: 179 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=71): time 4.739e-06/4.309, allocations: 0 / 2.385 GB, free: 179 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71): time 0.001708/4.311, allocations: 0.6254 MB / 2.386 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/4.311, allocations: 240 kB / 2.386 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008018/4.312, allocations: 0.5045 MB / 2.387 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/4.312, allocations: 25.7 kB / 2.387 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/4.312, allocations: 303.4 kB / 2.387 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/4.313, allocations: 220.3 kB / 2.387 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/4.313, allocations: 0 / 2.387 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001249/4.313, allocations: 371.4 kB / 2.388 GB, free: 177 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/4.313, allocations: 183.7 kB / 2.388 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/4.313, allocations: 290.2 kB / 2.388 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/4.314, allocations: 236.7 kB / 2.388 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/4.314, allocations: 0 / 2.388 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001589/4.315, allocations: 0.6318 MB / 2.389 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/4.315, allocations: 4 kB / 2.389 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/4.315, allocations: 3.938 kB / 2.389 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006703/4.316, allocations: 84.41 kB / 2.389 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/4.317, allocations: 132.7 kB / 2.389 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/4.319, allocations: 1.464 MB / 2.391 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/4.319, allocations: 67.59 kB / 2.391 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.019e-05/4.32, allocations: 30.47 kB / 2.391 GB, free: 174.3 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.0002391/4.32, allocations: 120.8 kB / 2.391 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/4.32, allocations: 71.06 kB / 2.391 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/4.322, allocations: 0.8929 MB / 2.392 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/4.322, allocations: 15.88 kB / 2.392 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/4.322, allocations: 3.906 kB / 2.392 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/4.322, allocations: 3.984 kB / 2.392 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/4.324, allocations: 0.7248 MB / 2.392 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/4.324, allocations: 0 / 2.392 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/4.324, allocations: 139.8 kB / 2.393 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005582/4.325, allocations: 92.67 kB / 2.393 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/4.325, allocations: 15.98 kB / 2.393 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/4.327, allocations: 1.48 MB / 2.394 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/4.327, allocations: 0 / 2.394 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00169/4.329, allocations: 0.7294 MB / 2.395 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000576/4.329, allocations: 271.9 kB / 2.395 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/4.329, allocations: 4 kB / 2.395 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006433/4.33, allocations: 55.95 kB / 2.395 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/4.33, allocations: 52.69 kB / 2.395 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/4.33, allocations: 27.98 kB / 2.395 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006639/4.331, allocations: 406.9 kB / 2.396 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001782/4.333, allocations: 323.1 kB / 2.396 GB, free: 168.8 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.003032/4.336, allocations: 1.053 MB / 2.397 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001378/4.337, allocations: 0.6351 MB / 2.398 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/4.337, allocations: 4 kB / 2.398 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007009/4.338, allocations: 432.7 kB / 2.398 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/4.339, allocations: 200 kB / 2.398 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/4.343, allocations: 1.322 MB / 2.4 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008695/4.344, allocations: 1.112 MB / 2.401 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/4.344, allocations: 0 / 2.401 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.02914/4.373, allocations: 16.49 MB / 2.417 GB, free: 147.7 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)