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.001034/0.001034, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.175/1.175, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6765/0.6765, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001099, allocations: 73.64 kB / 0.5018 GB, free: 8.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1283, allocations: 80.2 MB / 0.5801 GB, free: 8.727 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005017/0.1334, allocations: 4.13 MB / 0.5841 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3543/0.4877, allocations: 150.5 MB / 0.7311 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006962/0.4884, allocations: 23.34 kB / 0.7311 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.4889, allocations: 163.9 kB / 0.7313 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.4903, allocations: 478.4 kB / 0.7317 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.4919, allocations: 0.7974 MB / 0.7325 GB, free: 480 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.4929, allocations: 1.177 MB / 0.7337 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008419/0.4938, allocations: 0.6874 MB / 0.7343 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005037/0.4943, allocations: 451 kB / 0.7348 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/0.4947, allocations: 484.1 kB / 0.7352 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.4949, allocations: 113.6 kB / 0.7353 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007506/0.4956, allocations: 454.7 kB / 0.7358 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.4959, allocations: 297.4 kB / 0.736 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003786/0.4963, allocations: 0.5237 MB / 0.7366 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.4975, allocations: 1.529 MB / 0.7381 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4975, allocations: 0 / 0.7381 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4975, allocations: 0 / 0.7381 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.4976, allocations: 0 / 0.7381 GB, free: 13.64 MB / 0.5606 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.001858/0.4994, allocations: 1.372 MB / 0.7394 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.4995, allocations: 10.91 kB / 0.7394 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009728/0.5004, allocations: 208.6 kB / 0.7396 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000782/0.5012, allocations: 0.721 MB / 0.7403 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.5013, allocations: 70 kB / 0.7404 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.702e-05/0.5014, allocations: 91.03 kB / 0.7405 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.5027, allocations: 0.9388 MB / 0.7414 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.5028, allocations: 8.938 kB / 0.7414 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.5029, allocations: 37.31 kB / 0.7414 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.5029, allocations: 20.91 kB / 0.7414 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.5044, allocations: 1.127 MB / 0.7425 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003229/0.5077, allocations: 2.481 MB / 0.745 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.5096, allocations: 0.8784 MB / 0.7458 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/0.5101, allocations: 294.6 kB / 0.7461 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.169e-05/0.5101, allocations: 27.38 kB / 0.7461 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007391/0.5109, allocations: 434.5 kB / 0.7465 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.994e-06/0.5109, allocations: 4 kB / 0.7465 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002637/0.5135, allocations: 1.095 MB / 0.7476 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.5137, allocations: 196 kB / 0.7478 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/0.5143, allocations: 0.6017 MB / 0.7484 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.5144, allocations: 37.7 kB / 0.7484 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.5146, allocations: 392.2 kB / 0.7488 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.5148, allocations: 248.4 kB / 0.749 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.515, allocations: 150.5 kB / 0.7492 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5152, allocations: 386.7 kB / 0.7495 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.5156, allocations: 237.9 kB / 0.7498 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.5162, allocations: 339.1 kB / 0.7501 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009545/0.5171, allocations: 0.5604 MB / 0.7506 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5171, allocations: 8 kB / 0.7507 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001657/0.5188, allocations: 0.7941 MB / 0.7514 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5188, allocations: 6.5 kB / 0.7514 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.5188, allocations: 0 / 0.7514 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/0.5194, allocations: 84.86 kB / 0.7515 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.5199, allocations: 147.8 kB / 0.7517 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.5217, allocations: 1.634 MB / 0.7533 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.5223, allocations: 87.39 kB / 0.7533 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.677e-05/0.5224, allocations: 31.97 kB / 0.7534 GB, free: 0.7578 MB / 0.5606 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.0003064/0.5227, allocations: 257.6 kB / 0.7536 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5228, allocations: 83 kB / 0.7537 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.5248, allocations: 0.9951 MB / 0.7547 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.5249, allocations: 15.98 kB / 0.7547 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.5249, allocations: 0 / 0.7547 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.5249, allocations: 3.984 kB / 0.7547 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.5277, allocations: 1.89 MB / 0.7565 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5277, allocations: 4 kB / 0.7565 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/0.5282, allocations: 143.5 kB / 0.7567 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000394/0.5286, allocations: 76.78 kB / 0.7567 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.5287, allocations: 23.98 kB / 0.7568 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.5303, allocations: 1.656 MB / 0.7584 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5303, allocations: 3.938 kB / 0.7584 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.532, allocations: 0.9142 MB / 0.7593 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.5323, allocations: 267.7 kB / 0.7595 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.5324, allocations: 16 kB / 0.7595 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.533, allocations: 51.94 kB / 0.7596 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.5331, allocations: 64.92 kB / 0.7597 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/0.5331, allocations: 31.97 kB / 0.7597 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004828/0.5336, allocations: 439 kB / 0.7601 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.453e-06/0.5336, allocations: 0 / 0.7601 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007849/0.5344, allocations: 303.1 kB / 0.7604 GB, free: 9.301 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.006649/0.5411, allocations: 0.5981 MB / 0.761 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00237/0.5435, allocations: 0.9593 MB / 0.7619 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5435, allocations: 0 / 0.7619 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008253/0.5443, allocations: 0.4969 MB / 0.7624 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.5456, allocations: 287.4 kB / 0.7627 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.5491, allocations: 1.729 MB / 0.7644 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.5496, allocations: 1.015 MB / 0.7654 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007381/0.5503, allocations: 265.2 kB / 0.7656 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.5506, allocations: 99.39 kB / 0.7657 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.5506, allocations: 0 / 0.7657 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of Templates: time 0.01973/0.5703, allocations: 14.07 MB / 0.7795 GB, free: 6.16 MB / 0.5919 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)