Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008037/0.008037, allocations: 170 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.8143/0.8143, allocations: 132.3 MB / 148.1 MB, free: 248 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.631/1.631, allocations: 223.2 MB / 403.2 MB, free: 6.742 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.0008816/0.0008818, allocations: 99.67 kB / 485.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 12 kB / 0.5641 GB, free: 2.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4285, allocations: 81.58 MB / 0.6438 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.207/4.635, allocations: 1.694 GB / 2.338 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/4.636, allocations: 95.31 kB / 2.338 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.646/5.282, allocations: 68.67 MB / 2.405 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/5.282, allocations: 0 / 2.405 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.666e-05/5.282, allocations: 24 kB / 2.405 GB, free: 227.5 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.00224/5.284, allocations: 1.227 MB / 2.406 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/5.284, allocations: 8.031 kB / 2.406 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/5.285, allocations: 222.4 kB / 2.406 GB, free: 226 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/5.286, allocations: 0.6192 MB / 2.407 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.082e-05/5.286, allocations: 73.92 kB / 2.407 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/5.286, allocations: 88 kB / 2.407 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/5.288, allocations: 0.9332 MB / 2.408 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/5.288, allocations: 0 / 2.408 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/5.288, allocations: 40 kB / 2.408 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/5.288, allocations: 23.95 kB / 2.408 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/5.289, allocations: 1.132 MB / 2.409 GB, free: 223 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/5.293, allocations: 2.504 MB / 2.411 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/5.295, allocations: 0.8919 MB / 2.412 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.335e-05/5.295, allocations: 24.61 kB / 2.412 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007602/5.296, allocations: 447.5 kB / 2.413 GB, free: 219 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.565e-06/5.296, allocations: 0 / 2.413 GB, free: 219 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.003023/5.299, allocations: 1.128 MB / 2.414 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/5.299, allocations: 244 kB / 2.414 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008484/5.3, allocations: 0.5893 MB / 2.415 GB, free: 217 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-05/5.3, allocations: 41.7 kB / 2.415 GB, free: 217 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/5.3, allocations: 392.2 kB / 2.415 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/5.3, allocations: 240.4 kB / 2.415 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/5.3, allocations: 12 kB / 2.415 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001355/5.301, allocations: 386.8 kB / 2.416 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/5.301, allocations: 221.2 kB / 2.416 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/5.301, allocations: 331.6 kB / 2.416 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/5.302, allocations: 275.1 kB / 2.417 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/5.302, allocations: 4 kB / 2.417 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001616/5.304, allocations: 0.7315 MB / 2.417 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/5.304, allocations: 4 kB / 2.417 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/5.304, allocations: 4 kB / 2.417 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/5.304, allocations: 84.83 kB / 2.417 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/5.305, allocations: 139.8 kB / 2.417 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/5.307, allocations: 1.525 MB / 2.419 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/5.307, allocations: 95.38 kB / 2.419 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/5.307, allocations: 27.97 kB / 2.419 GB, free: 212.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0005546/5.308, allocations: 262.3 kB / 2.419 GB, free: 212.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/5.308, allocations: 75.06 kB / 2.419 GB, free: 212 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/5.31, allocations: 1.022 MB / 2.42 GB, free: 211 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/5.31, allocations: 12 kB / 2.42 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/5.31, allocations: 7.891 kB / 2.42 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/5.31, allocations: 3.984 kB / 2.42 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/5.313, allocations: 1.957 MB / 2.422 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/5.313, allocations: 0 / 2.422 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/5.314, allocations: 143.8 kB / 2.422 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004923/5.314, allocations: 84.77 kB / 2.423 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/5.314, allocations: 23.98 kB / 2.423 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/5.316, allocations: 1.556 MB / 2.424 GB, free: 207 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/5.316, allocations: 0 / 2.424 GB, free: 207 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/5.318, allocations: 0.9297 MB / 2.425 GB, free: 206 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004177/5.318, allocations: 283.7 kB / 2.425 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/5.318, allocations: 27.98 kB / 2.425 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005799/5.319, allocations: 59.95 kB / 2.425 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/5.319, allocations: 68.86 kB / 2.425 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-05/5.319, allocations: 31.98 kB / 2.425 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006254/5.32, allocations: 491 kB / 2.426 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/5.32, allocations: 0 / 2.426 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001475/5.321, allocations: 371 kB / 2.426 GB, free: 204.7 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 (85): * Single equations (assignments): 82 * 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.002427/5.324, allocations: 1.059 MB / 2.427 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001614/5.325, allocations: 0.7395 MB / 2.428 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/5.325, allocations: 0 / 2.428 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007671/5.326, allocations: 0.5002 MB / 2.429 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/5.327, allocations: 240.1 kB / 2.429 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/5.331, allocations: 2.163 MB / 2.431 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/5.332, allocations: 1.036 MB / 2.432 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008617/5.333, allocations: 266.2 kB / 2.432 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/5.333, allocations: 91.39 kB / 2.432 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/5.333, allocations: 0 / 2.432 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.03018/5.363, allocations: 20.44 MB / 2.452 GB, free: 178.4 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)