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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 102 kB / 16.37 MB, free: 6.441 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.001343/0.001343, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.77/0.77, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3124, allocations: 80.19 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004721/0.3172, allocations: 4.156 MB / 0.5856 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1443/0.4616, allocations: 150.5 MB / 0.7325 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006601/0.4623, allocations: 15.94 kB / 0.7325 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004814/0.4627, allocations: 166.5 kB / 0.7327 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.4642, allocations: 468.8 kB / 0.7331 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.466, allocations: 0.808 MB / 0.7339 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.4671, allocations: 1.195 MB / 0.7351 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008678/0.4679, allocations: 0.6887 MB / 0.7358 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005045/0.4685, allocations: 450.4 kB / 0.7362 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004692/0.4689, allocations: 485.8 kB / 0.7367 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.4691, allocations: 112 kB / 0.7368 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007536/0.4698, allocations: 479.6 kB / 0.7372 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.4701, allocations: 299 kB / 0.7375 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004151/0.4705, allocations: 0.5246 MB / 0.738 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.472, allocations: 1.557 MB / 0.7395 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.472, allocations: 3.938 kB / 0.7395 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.472, allocations: 0 / 0.7395 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.4721, allocations: 0 / 0.7395 GB, free: 11.86 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.002103/0.4742, allocations: 1.389 MB / 0.7409 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.4742, allocations: 12.03 kB / 0.7409 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.4753, allocations: 203.4 kB / 0.7411 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.4764, allocations: 0.75 MB / 0.7418 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.4764, allocations: 70 kB / 0.7419 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.4765, allocations: 84 kB / 0.742 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.478, allocations: 0.941 MB / 0.7429 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.4781, allocations: 3.984 kB / 0.7429 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.4782, allocations: 40 kB / 0.7429 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.4782, allocations: 20 kB / 0.743 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.48, allocations: 1.124 MB / 0.7441 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/0.4837, allocations: 2.441 MB / 0.7464 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.4858, allocations: 0.8829 MB / 0.7473 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/0.4863, allocations: 282.7 kB / 0.7476 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-05/0.4864, allocations: 36.61 kB / 0.7476 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007394/0.4871, allocations: 435.2 kB / 0.748 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.184e-06/0.4872, allocations: 0 / 0.748 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002871/0.49, allocations: 1.092 MB / 0.7491 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.243e-05/0.4901, allocations: 188.6 kB / 0.7493 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007126/0.4909, allocations: 0.6094 MB / 0.7499 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.508e-05/0.4909, allocations: 37.7 kB / 0.7499 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.4913, allocations: 396.2 kB / 0.7503 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.4915, allocations: 248.4 kB / 0.7505 GB, free: 276 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.4917, allocations: 150.5 kB / 0.7507 GB, free: 116 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.2309/0.7226, allocations: 386.5 kB / 0.751 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006781/0.7233, allocations: 238.7 kB / 0.7513 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/0.7239, allocations: 331.7 kB / 0.7516 GB, free: 167 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.725, allocations: 0.5664 MB / 0.7521 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.725, allocations: 1.656 kB / 0.7521 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001886/0.7269, allocations: 0.7861 MB / 0.7529 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7269, allocations: 5.594 kB / 0.7529 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.727, allocations: 1.062 kB / 0.7529 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/0.7275, allocations: 83.78 kB / 0.753 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.7282, allocations: 155.8 kB / 0.7531 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.7299, allocations: 1.629 MB / 0.7547 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.7305, allocations: 86.16 kB / 0.7548 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.038e-05/0.7306, allocations: 36.09 kB / 0.7548 GB, free: 165 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.000362/0.731, allocations: 255.1 kB / 0.7551 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.7311, allocations: 76.62 kB / 0.7552 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.7334, allocations: 1.007 MB / 0.7561 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.7334, allocations: 11.5 kB / 0.7561 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.7334, allocations: 0.5938 kB / 0.7561 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7334, allocations: 5.219 kB / 0.7562 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.7366, allocations: 1.89 MB / 0.758 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7366, allocations: 1.844 kB / 0.758 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/0.7373, allocations: 149.4 kB / 0.7581 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.7377, allocations: 69.98 kB / 0.7582 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.7378, allocations: 26.59 kB / 0.7582 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.7393, allocations: 1.657 MB / 0.7599 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7393, allocations: 3.969 kB / 0.7599 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.7411, allocations: 0.9215 MB / 0.7608 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.7414, allocations: 256.4 kB / 0.761 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.7415, allocations: 21.42 kB / 0.761 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.7421, allocations: 55.42 kB / 0.7611 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.7422, allocations: 62.81 kB / 0.7611 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.7422, allocations: 28.61 kB / 0.7612 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004363/0.7427, allocations: 439.4 kB / 0.7616 GB, free: 161 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7427, allocations: 3.938 kB / 0.7616 GB, free: 161 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007619/0.7435, allocations: 305.4 kB / 0.7619 GB, free: 160.9 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.001155/0.7446, allocations: 0.5939 MB / 0.7625 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.746, allocations: 0.7734 MB / 0.7632 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.746, allocations: 2.188 kB / 0.7632 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007695/0.7468, allocations: 493.6 kB / 0.7637 GB, free: 160 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009736/0.7478, allocations: 290.6 kB / 0.764 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.7509, allocations: 1.709 MB / 0.7656 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.7513, allocations: 1.024 MB / 0.7666 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006825/0.752, allocations: 259.8 kB / 0.7669 GB, free: 158 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.7522, allocations: 100 kB / 0.767 GB, free: 158 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.7522, allocations: 0 / 0.767 GB, free: 158 MB / 0.5762 GB Notification: Performance of Templates: time 0.01744/0.7697, allocations: 14.07 MB / 0.7807 GB, free: 144.8 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)