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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007848/0.007848, allocations: 101.1 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.001484/0.001484, allocations: 193.4 kB / 16.68 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.558/1.558, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8597/0.8597, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 64.69 kB / 0.5814 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1752, allocations: 80.21 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006173/0.1814, allocations: 4.146 MB / 0.6637 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.19/0.3715, allocations: 150.5 MB / 0.8107 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007572/0.3722, allocations: 19.88 kB / 0.8107 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006743/0.3729, allocations: 166.5 kB / 0.8109 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.3748, allocations: 475 kB / 0.8113 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.3769, allocations: 0.8037 MB / 0.8121 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.479/0.8558, allocations: 1.183 MB / 0.8133 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.8573, allocations: 0.6762 MB / 0.8139 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009266/0.8582, allocations: 458.4 kB / 0.8144 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.8589, allocations: 482 kB / 0.8148 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000193/0.8591, allocations: 112.9 kB / 0.8149 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.8603, allocations: 485 kB / 0.8154 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.8607, allocations: 286 kB / 0.8157 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006554/0.8613, allocations: 0.5323 MB / 0.8162 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.8644, allocations: 1.568 MB / 0.8177 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.8644, allocations: 0.7031 kB / 0.8177 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.836e-06/0.8644, allocations: 0 / 0.8177 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.277e-05/0.8644, allocations: 1.156 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.003146/0.8676, allocations: 1.42 MB / 0.8191 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.8676, allocations: 9.656 kB / 0.8191 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.8689, allocations: 209 kB / 0.8193 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.8705, allocations: 0.7489 MB / 0.82 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.8706, allocations: 70.38 kB / 0.8201 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.8708, allocations: 84.47 kB / 0.8202 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.873, allocations: 0.9422 MB / 0.8211 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.8731, allocations: 4.125 kB / 0.8211 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/0.8732, allocations: 41.02 kB / 0.8212 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.8732, allocations: 23.34 kB / 0.8212 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.8754, allocations: 1.124 MB / 0.8223 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004682/0.8801, allocations: 2.448 MB / 0.8247 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.8825, allocations: 0.8781 MB / 0.8255 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.8831, allocations: 286.2 kB / 0.8258 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/0.8831, allocations: 32.8 kB / 0.8258 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007632/0.8839, allocations: 438.2 kB / 0.8262 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 3.056e-06/0.8839, allocations: 0.9375 kB / 0.8263 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003217/0.8871, allocations: 1.1 MB / 0.8273 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.8872, allocations: 191.3 kB / 0.8275 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000867/0.8881, allocations: 0.606 MB / 0.8281 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.8882, allocations: 37.88 kB / 0.8281 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.8886, allocations: 410.8 kB / 0.8285 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.8888, allocations: 253.3 kB / 0.8288 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.889, allocations: 150.8 kB / 0.8289 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.8892, allocations: 381 kB / 0.8293 GB, free: 16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.8897, allocations: 245.3 kB / 0.8295 GB, free: 16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/0.8903, allocations: 329.5 kB / 0.8298 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.8914, allocations: 0.5661 MB / 0.8304 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.8914, allocations: 4.75 kB / 0.8304 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001958/0.8933, allocations: 0.796 MB / 0.8312 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.8934, allocations: 5.5 kB / 0.8312 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.8934, allocations: 3.578 kB / 0.8312 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.894, allocations: 81.19 kB / 0.8312 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006325/0.8946, allocations: 152.5 kB / 0.8314 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.8968, allocations: 1.633 MB / 0.833 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008278/0.8977, allocations: 91.98 kB / 0.8331 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.8977, allocations: 32.61 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.0005651/0.8983, allocations: 259.2 kB / 0.8334 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.8985, allocations: 80.59 kB / 0.8334 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.9008, allocations: 0.9989 MB / 0.8344 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.9008, allocations: 8.531 kB / 0.8344 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.9009, allocations: 1.938 kB / 0.8344 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.9009, allocations: 8.234 kB / 0.8344 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.904, allocations: 1.893 MB / 0.8363 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.9041, allocations: 4.844 kB / 0.8363 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.9046, allocations: 143.7 kB / 0.8364 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.9051, allocations: 76.97 kB / 0.8365 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.9051, allocations: 25.73 kB / 0.8365 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.9071, allocations: 1.659 MB / 0.8381 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9071, allocations: 0.875 kB / 0.8381 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.909, allocations: 0.9305 MB / 0.839 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.9094, allocations: 263.3 kB / 0.8393 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.9095, allocations: 20.09 kB / 0.8393 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005727/0.9101, allocations: 59.11 kB / 0.8394 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.9103, allocations: 59 kB / 0.8394 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/0.9103, allocations: 32.84 kB / 0.8395 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005359/0.9109, allocations: 436 kB / 0.8399 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9109, allocations: 1.562 kB / 0.8399 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009437/0.9118, allocations: 306.3 kB / 0.8402 GB, free: 11.82 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.001845/0.9137, allocations: 0.5948 MB / 0.8407 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.9153, allocations: 0.779 MB / 0.8415 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.9153, allocations: 0 / 0.8415 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008288/0.9162, allocations: 497.5 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.00121/0.9174, allocations: 281.1 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.003597/0.921, allocations: 1.751 MB / 0.844 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.9216, allocations: 1.015 MB / 0.8449 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007615/0.9224, allocations: 260.9 kB / 0.8452 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.9226, allocations: 98.88 kB / 0.8453 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of SimCode: time 9.52e-07/0.9226, allocations: 0.9062 kB / 0.8453 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of Templates: time 0.02332/0.946, allocations: 14.22 MB / 0.8592 GB, free: 9.039 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660] (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) [Timeout 480]