Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001343/0.001343, allocations: 175 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.7626/0.7626, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.698/1.698, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.00131/0.00131, allocations: 95.78 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.309e-05/4.312e-05, allocations: 4.062 kB / 0.56 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2357, allocations: 82.31 MB / 0.6404 GB, free: 7.805 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.231/5.467, allocations: 1.694 GB / 2.334 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/5.467, allocations: 88.33 kB / 2.335 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1887/5.656, allocations: 68.37 MB / 2.401 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.905e-06/5.656, allocations: 0 / 2.401 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001373/5.656, allocations: 39.86 kB / 2.401 GB, free: 139.8 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.003176/5.659, allocations: 1.104 MB / 2.402 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/5.66, allocations: 12.03 kB / 2.402 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/5.662, allocations: 210.4 kB / 2.403 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/5.663, allocations: 0.6251 MB / 2.403 GB, free: 138 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.223e-05/5.663, allocations: 67 kB / 2.403 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/5.664, allocations: 81.44 kB / 2.403 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/5.666, allocations: 0.9096 MB / 2.404 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/5.666, allocations: 0 / 2.404 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/5.667, allocations: 36.62 kB / 2.404 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/5.667, allocations: 24 kB / 2.404 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/5.669, allocations: 1.079 MB / 2.405 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006486/5.676, allocations: 2.505 MB / 2.408 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/5.679, allocations: 0.8347 MB / 2.409 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/5.68, allocations: 263.2 kB / 2.409 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/5.68, allocations: 32.8 kB / 2.409 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/5.681, allocations: 417.3 kB / 2.409 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 6.452e-06/5.681, allocations: 0 / 2.409 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002677/5.684, allocations: 0.6875 MB / 2.41 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/5.684, allocations: 248 kB / 2.41 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/5.685, allocations: 0.5933 MB / 2.411 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/5.685, allocations: 41.64 kB / 2.411 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000525/5.686, allocations: 396.1 kB / 2.411 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/5.686, allocations: 244.5 kB / 2.411 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/5.686, allocations: 12 kB / 2.411 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001982/5.687, allocations: 378.8 kB / 2.412 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006147/5.687, allocations: 201.5 kB / 2.412 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007592/5.688, allocations: 309.1 kB / 2.412 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/5.689, allocations: 250 kB / 2.413 GB, free: 129 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/5.689, allocations: 4 kB / 2.413 GB, free: 129 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002671/5.691, allocations: 0.6837 MB / 2.413 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/5.692, allocations: 8.922 kB / 2.413 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/5.692, allocations: 4.062 kB / 2.413 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007996/5.692, allocations: 76.78 kB / 2.413 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/5.693, allocations: 147.8 kB / 2.413 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/5.696, allocations: 1.508 MB / 2.415 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/5.697, allocations: 91.39 kB / 2.415 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/5.697, allocations: 27.97 kB / 2.415 GB, free: 126.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 (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.0002887/5.697, allocations: 144.8 kB / 2.415 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/5.698, allocations: 75.06 kB / 2.415 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/5.701, allocations: 0.9653 MB / 2.416 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/5.701, allocations: 8 kB / 2.416 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/5.701, allocations: 7.953 kB / 2.416 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/5.701, allocations: 3.984 kB / 2.416 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004756/5.706, allocations: 1.893 MB / 2.418 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/5.706, allocations: 8 kB / 2.418 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000912/5.707, allocations: 143.8 kB / 2.418 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006906/5.707, allocations: 84.77 kB / 2.418 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/5.707, allocations: 23.98 kB / 2.418 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/5.71, allocations: 1.552 MB / 2.42 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/5.71, allocations: 3.938 kB / 2.42 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/5.712, allocations: 0.8689 MB / 2.421 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006529/5.713, allocations: 287.7 kB / 2.421 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/5.713, allocations: 16 kB / 2.421 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/5.714, allocations: 63.95 kB / 2.421 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/5.714, allocations: 68.64 kB / 2.421 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/5.714, allocations: 35.92 kB / 2.421 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001041/5.715, allocations: 483.1 kB / 2.422 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/5.716, allocations: 0 / 2.422 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001769/5.717, allocations: 375 kB / 2.422 GB, free: 119 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 (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.002926/5.72, allocations: 1.02 MB / 2.423 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00203/5.722, allocations: 0.6824 MB / 2.424 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/5.722, allocations: 0 / 2.424 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/5.724, allocations: 467 kB / 2.424 GB, free: 117 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/5.725, allocations: 240 kB / 2.424 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/5.731, allocations: 1.367 MB / 2.426 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/5.732, allocations: 1.041 MB / 2.427 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001725/5.733, allocations: 266.1 kB / 2.427 GB, free: 114 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/5.734, allocations: 99.39 kB / 2.427 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/5.734, allocations: 4 kB / 2.427 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.03391/5.768, allocations: 22.09 MB / 2.449 GB, free: 91.89 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)