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.001001/0.001002, 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.0009735/0.0009736, 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7684/0.7684, allocations: 135.1 MB / 426.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 59.89 kB / 0.5068 GB, free: 7.723 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4372, allocations: 80.91 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005547/0.4428, allocations: 4.149 MB / 0.5898 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1667/0.6095, allocations: 150.5 MB / 0.7368 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009862/0.6106, allocations: 15.94 kB / 0.7368 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005684/0.6111, allocations: 166.5 kB / 0.737 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.6129, allocations: 472.3 kB / 0.7374 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.6148, allocations: 0.8 MB / 0.7382 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.616, allocations: 1.195 MB / 0.7393 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008783/0.6169, allocations: 0.6864 MB / 0.74 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005002/0.6174, allocations: 458.4 kB / 0.7405 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004983/0.6179, allocations: 479.7 kB / 0.7409 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.618, allocations: 116 kB / 0.741 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008655/0.6189, allocations: 487.6 kB / 0.7415 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.6192, allocations: 287 kB / 0.7418 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004285/0.6196, allocations: 0.5246 MB / 0.7423 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.6211, allocations: 1.567 MB / 0.7438 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6212, allocations: 0 / 0.7438 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6212, allocations: 0 / 0.7438 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.6212, allocations: 0 / 0.7438 GB, free: 8.18 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.002266/0.6235, allocations: 1.385 MB / 0.7452 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.6235, allocations: 13.11 kB / 0.7452 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.6246, allocations: 203.4 kB / 0.7454 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.6257, allocations: 0.7461 MB / 0.7461 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.6258, allocations: 66 kB / 0.7462 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.6259, allocations: 92 kB / 0.7462 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.6274, allocations: 0.9371 MB / 0.7472 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.6274, allocations: 4 kB / 0.7472 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.6275, allocations: 40 kB / 0.7472 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.6275, allocations: 20 kB / 0.7472 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.6292, allocations: 1.128 MB / 0.7483 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.6329, allocations: 2.441 MB / 0.7507 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3738/1.007, allocations: 0.8868 MB / 0.7516 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00088/1.008, allocations: 279.3 kB / 0.7518 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/1.008, allocations: 35.42 kB / 0.7519 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009257/1.009, allocations: 437.9 kB / 0.7523 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/1.009, allocations: 0 / 0.7523 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003117/1.012, allocations: 1.097 MB / 0.7534 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/1.012, allocations: 190.4 kB / 0.7535 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007554/1.013, allocations: 0.597 MB / 0.7541 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/1.013, allocations: 37.67 kB / 0.7542 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/1.013, allocations: 402.8 kB / 0.7545 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/1.013, allocations: 250.3 kB / 0.7548 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/1.014, allocations: 147.8 kB / 0.7549 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.014, allocations: 380.7 kB / 0.7553 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/1.014, allocations: 248.3 kB / 0.7555 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/1.015, allocations: 331.5 kB / 0.7558 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/1.016, allocations: 0.564 MB / 0.7564 GB, free: 163 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.016, allocations: 0 / 0.7564 GB, free: 163 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002148/1.018, allocations: 0.7937 MB / 0.7572 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/1.018, allocations: 12.28 kB / 0.7572 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.018, allocations: 0 / 0.7572 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006247/1.019, allocations: 80.64 kB / 0.7573 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/1.02, allocations: 151.5 kB / 0.7574 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/1.022, allocations: 1.623 MB / 0.759 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006413/1.022, allocations: 91.89 kB / 0.7591 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-05/1.022, allocations: 31.98 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.0004678/1.023, allocations: 263.7 kB / 0.7594 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/1.023, allocations: 79.64 kB / 0.7594 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/1.026, allocations: 1 MB / 0.7604 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.026, allocations: 9.844 kB / 0.7604 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/1.026, allocations: 0.5312 kB / 0.7604 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.026, allocations: 4.156 kB / 0.7604 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/1.029, allocations: 1.896 MB / 0.7623 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.029, allocations: 3.938 kB / 0.7623 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/1.03, allocations: 149.7 kB / 0.7624 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/1.03, allocations: 72.22 kB / 0.7625 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/1.03, allocations: 19.64 kB / 0.7625 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/1.032, allocations: 1.658 MB / 0.7641 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.032, allocations: 5.359 kB / 0.7641 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/1.034, allocations: 0.928 MB / 0.765 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/1.034, allocations: 256.6 kB / 0.7653 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/1.034, allocations: 11.94 kB / 0.7653 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/1.034, allocations: 57.41 kB / 0.7653 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/1.035, allocations: 61.27 kB / 0.7654 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/1.035, allocations: 31.89 kB / 0.7654 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004725/1.035, allocations: 436.5 kB / 0.7659 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/1.035, allocations: 0.5 kB / 0.7659 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000879/1.036, allocations: 302.6 kB / 0.7661 GB, free: 156.5 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.00137/1.037, allocations: 0.5996 MB / 0.7667 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001364/1.039, allocations: 0.7782 MB / 0.7675 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.039, allocations: 0 / 0.7675 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007008/1.04, allocations: 496.3 kB / 0.768 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009716/1.041, allocations: 276.8 kB / 0.7682 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/1.044, allocations: 1.724 MB / 0.7699 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/1.044, allocations: 1.017 MB / 0.7709 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000668/1.045, allocations: 257.6 kB / 0.7711 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/1.045, allocations: 107.4 kB / 0.7713 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/1.045, allocations: 0 / 0.7713 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.01991/1.065, allocations: 14.06 MB / 0.785 GB, free: 137.9 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)