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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008878/0.0008877, allocations: 116.9 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 194.4 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7466/0.7466, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 63.91 kB / 0.5068 GB, free: 7.625 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3145, allocations: 80.9 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004983/0.3195, allocations: 4.155 MB / 0.5898 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1397/0.4592, allocations: 150.5 MB / 0.7368 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007031/0.4599, allocations: 19.88 kB / 0.7368 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004403/0.4604, allocations: 166.5 kB / 0.7369 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.4616, allocations: 476.7 kB / 0.7374 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.4633, allocations: 0.8057 MB / 0.7382 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009328/0.4642, allocations: 1.188 MB / 0.7394 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007722/0.465, allocations: 0.6883 MB / 0.74 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.4654, allocations: 458.3 kB / 0.7405 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004379/0.4659, allocations: 488 kB / 0.7409 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.466, allocations: 112 kB / 0.741 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008662/0.4669, allocations: 479.6 kB / 0.7415 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.4672, allocations: 287.1 kB / 0.7418 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.4677, allocations: 0.5284 MB / 0.7423 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.4694, allocations: 1.565 MB / 0.7438 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4694, allocations: 0 / 0.7438 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4695, allocations: 4 kB / 0.7438 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.4695, allocations: 0 / 0.7438 GB, free: 8.129 MB / 0.5762 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.002234/0.4717, allocations: 1.389 MB / 0.7452 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4718, allocations: 9.109 kB / 0.7452 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.4728, allocations: 203.4 kB / 0.7454 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.4738, allocations: 0.7462 MB / 0.7461 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.4739, allocations: 66 kB / 0.7462 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.474, allocations: 84 kB / 0.7462 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.4754, allocations: 0.9448 MB / 0.7472 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.4754, allocations: 0 / 0.7472 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/0.4755, allocations: 40 kB / 0.7472 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.4756, allocations: 24 kB / 0.7472 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.4772, allocations: 1.124 MB / 0.7483 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.4805, allocations: 2.448 MB / 0.7507 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2404/0.7209, allocations: 0.8804 MB / 0.7516 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006894/0.7217, allocations: 278.7 kB / 0.7518 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-05/0.7218, allocations: 35.47 kB / 0.7519 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008007/0.7226, allocations: 432.9 kB / 0.7523 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 3.126e-06/0.7226, allocations: 3.844 kB / 0.7523 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002787/0.7254, allocations: 1.092 MB / 0.7534 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.7254, allocations: 196.3 kB / 0.7535 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.7261, allocations: 0.5999 MB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.7262, allocations: 38 kB / 0.7542 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.7264, allocations: 401.2 kB / 0.7545 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.7266, allocations: 246.8 kB / 0.7548 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.7268, allocations: 150.2 kB / 0.7549 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7269, allocations: 382.7 kB / 0.7553 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.7274, allocations: 242.2 kB / 0.7555 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.728, allocations: 334.2 kB / 0.7558 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.729, allocations: 0.5731 MB / 0.7564 GB, free: 163 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.729, allocations: 0 / 0.7564 GB, free: 163 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001818/0.7308, allocations: 0.7865 MB / 0.7572 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.7308, allocations: 10.92 kB / 0.7572 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.7309, allocations: 1.062 kB / 0.7572 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.7314, allocations: 87.75 kB / 0.7573 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.7321, allocations: 148.6 kB / 0.7574 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.7337, allocations: 1.625 MB / 0.759 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005894/0.7343, allocations: 85.92 kB / 0.7591 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.7344, allocations: 33.41 kB / 0.7591 GB, free: 161.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003769/0.7348, allocations: 263.2 kB / 0.7594 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.7349, allocations: 75.69 kB / 0.7594 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/0.7372, allocations: 1.005 MB / 0.7604 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.7373, allocations: 10.58 kB / 0.7604 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.7373, allocations: 1.219 kB / 0.7604 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.7373, allocations: 4.344 kB / 0.7604 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.7403, allocations: 1.894 MB / 0.7623 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.7403, allocations: 2.375 kB / 0.7623 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.7408, allocations: 144.5 kB / 0.7624 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004004/0.7412, allocations: 71.22 kB / 0.7625 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.7413, allocations: 24.86 kB / 0.7625 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.7427, allocations: 1.662 MB / 0.7641 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7427, allocations: 1.188 kB / 0.7641 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.7443, allocations: 0.923 MB / 0.765 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.7446, allocations: 252.5 kB / 0.7653 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.58e-05/0.7447, allocations: 28.78 kB / 0.7653 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.7452, allocations: 53.89 kB / 0.7654 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.7453, allocations: 65.06 kB / 0.7654 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/0.7453, allocations: 26.05 kB / 0.7654 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003594/0.7457, allocations: 438 kB / 0.7659 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7457, allocations: 1.562 kB / 0.7659 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006549/0.7464, allocations: 305.8 kB / 0.7662 GB, free: 156.6 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.7475, allocations: 0.5896 MB / 0.7667 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.7487, allocations: 0.7813 MB / 0.7675 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7487, allocations: 0 / 0.7675 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006746/0.7494, allocations: 495.8 kB / 0.768 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008819/0.7503, allocations: 281.1 kB / 0.7682 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.753, allocations: 1.715 MB / 0.7699 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.7533, allocations: 1.021 MB / 0.7709 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005541/0.7538, allocations: 265.8 kB / 0.7712 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.754, allocations: 103.4 kB / 0.7713 GB, free: 152 MB / 0.5762 GB Notification: Performance of SimCode: time 1.9e-07/0.754, allocations: 0 / 0.7713 GB, free: 152 MB / 0.5762 GB Notification: Performance of Templates: time 0.8758/1.63, allocations: 14.06 MB / 0.785 GB, free: 138.1 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)