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.006747/0.006747, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001362/0.001362, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7794/0.7794, allocations: 132.2 MB / 422.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 66.3 kB / 0.5814 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1633, allocations: 80.19 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005545/0.1689, allocations: 4.161 MB / 0.6637 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1651/0.334, allocations: 150.5 MB / 0.8107 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.3351, allocations: 19.88 kB / 0.8107 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006145/0.3357, allocations: 166.5 kB / 0.8109 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.3378, allocations: 468.9 kB / 0.8113 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.3398, allocations: 0.8073 MB / 0.8121 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.424/0.7638, allocations: 1.179 MB / 0.8133 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.7651, allocations: 0.6869 MB / 0.8139 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007198/0.7658, allocations: 452.6 kB / 0.8144 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.7665, allocations: 485.5 kB / 0.8148 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.7666, allocations: 112.9 kB / 0.8149 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.7677, allocations: 484.9 kB / 0.8154 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.768, allocations: 287.5 kB / 0.8157 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005085/0.7685, allocations: 0.5246 MB / 0.8162 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.7706, allocations: 1.576 MB / 0.8177 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7706, allocations: 0.5938 kB / 0.8177 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.145e-06/0.7706, allocations: 3.344 kB / 0.8177 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.7706, allocations: 1.094 kB / 0.8177 GB, free: 3.473 MB / 0.6387 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.002513/0.7732, allocations: 1.413 MB / 0.8191 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.7732, allocations: 10.19 kB / 0.8191 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.7744, allocations: 210.6 kB / 0.8193 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.7757, allocations: 0.7454 MB / 0.82 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.873e-05/0.7758, allocations: 73.41 kB / 0.8201 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.776, allocations: 88.48 kB / 0.8202 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.7778, allocations: 0.9413 MB / 0.8211 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.7779, allocations: 0.8438 kB / 0.8211 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.7779, allocations: 40.36 kB / 0.8211 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.778, allocations: 23.41 kB / 0.8212 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.7799, allocations: 1.124 MB / 0.8223 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.7838, allocations: 2.452 MB / 0.8247 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.7859, allocations: 0.8822 MB / 0.8255 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.7865, allocations: 283.9 kB / 0.8258 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.855e-05/0.7865, allocations: 33.66 kB / 0.8258 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007624/0.7873, allocations: 434.7 kB / 0.8262 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.325e-06/0.7873, allocations: 1.203 kB / 0.8262 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.002808/0.7901, allocations: 1.1 MB / 0.8273 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.7902, allocations: 189 kB / 0.8275 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008088/0.791, allocations: 0.6079 MB / 0.8281 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.7911, allocations: 37.86 kB / 0.8281 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.7915, allocations: 403.7 kB / 0.8285 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.7917, allocations: 260.7 kB / 0.8288 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.7919, allocations: 151.6 kB / 0.8289 GB, free: 16.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7921, allocations: 380.4 kB / 0.8293 GB, free: 16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.7925, allocations: 242.2 kB / 0.8295 GB, free: 16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.7931, allocations: 336.7 kB / 0.8298 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.7941, allocations: 0.5658 MB / 0.8304 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7941, allocations: 6.281 kB / 0.8304 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001775/0.7959, allocations: 0.7924 MB / 0.8312 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.796, allocations: 5.312 kB / 0.8312 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.796, allocations: 3 kB / 0.8312 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005649/0.7965, allocations: 83.98 kB / 0.8312 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/0.7972, allocations: 151.6 kB / 0.8314 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.7992, allocations: 1.629 MB / 0.833 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/0.7999, allocations: 95.14 kB / 0.8331 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.706e-05/0.7999, allocations: 32.72 kB / 0.8331 GB, free: 14.38 MB / 0.6544 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.0004298/0.8004, allocations: 259.7 kB / 0.8333 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.8005, allocations: 80.19 kB / 0.8334 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.8026, allocations: 0.9957 MB / 0.8344 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.8027, allocations: 8 kB / 0.8344 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.8027, allocations: 3.281 kB / 0.8344 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.8027, allocations: 6.469 kB / 0.8344 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.8055, allocations: 1.895 MB / 0.8363 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.8056, allocations: 10.8 kB / 0.8363 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.8061, allocations: 143.2 kB / 0.8364 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/0.8065, allocations: 69.62 kB / 0.8365 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.8065, allocations: 25.92 kB / 0.8365 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.8082, allocations: 1.656 MB / 0.8381 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8082, allocations: 0 / 0.8381 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.8099, allocations: 0.9271 MB / 0.839 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.8102, allocations: 268 kB / 0.8393 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.8103, allocations: 14.41 kB / 0.8393 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/0.8109, allocations: 58.91 kB / 0.8393 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.811, allocations: 59.58 kB / 0.8394 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.8111, allocations: 30.84 kB / 0.8394 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004867/0.8116, allocations: 437 kB / 0.8399 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8116, allocations: 3.562 kB / 0.8399 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009684/0.8126, allocations: 307.6 kB / 0.8401 GB, free: 11.83 MB / 0.6544 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.001312/0.8139, allocations: 0.6026 MB / 0.8407 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.8154, allocations: 0.7769 MB / 0.8415 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.8154, allocations: 1.031 kB / 0.8415 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007865/0.8162, allocations: 499.9 kB / 0.842 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.8174, allocations: 284.5 kB / 0.8422 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.821, allocations: 1.743 MB / 0.8439 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.8215, allocations: 1.014 MB / 0.8449 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008276/0.8223, allocations: 263.6 kB / 0.8452 GB, free: 10 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.8226, allocations: 102.2 kB / 0.8453 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of SimCode: time 1.413e-06/0.8226, allocations: 0 / 0.8453 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of Templates: time 0.02813/0.8507, allocations: 14.21 MB / 0.8592 GB, free: 9.023 MB / 0.6544 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)