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.00159/0.00159, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001614/0.001614, allocations: 197.9 kB / 16.26 MB, free: 6.629 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9734/0.9734, allocations: 135.6 MB / 425.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 68.52 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1818, allocations: 81.02 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006202/0.1881, allocations: 4.146 MB / 0.5885 GB, free: 160 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4252/0.6134, allocations: 148.3 MB / 0.7333 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007234/0.6141, allocations: 16.16 kB / 0.7334 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005474/0.6147, allocations: 141.8 kB / 0.7335 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.6161, allocations: 408.9 kB / 0.7339 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.6179, allocations: 0.7233 MB / 0.7346 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.6192, allocations: 1.181 MB / 0.7357 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009582/0.6201, allocations: 0.6808 MB / 0.7364 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006139/0.6207, allocations: 455 kB / 0.7368 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005177/0.6213, allocations: 487.2 kB / 0.7373 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.6214, allocations: 116.7 kB / 0.7374 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007777/0.6222, allocations: 453.9 kB / 0.7378 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.6225, allocations: 288.8 kB / 0.7381 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004694/0.623, allocations: 0.5341 MB / 0.7386 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.6245, allocations: 1.527 MB / 0.7401 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.6245, allocations: 0 / 0.7401 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6245, allocations: 3.938 kB / 0.7401 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.6246, allocations: 1.469 kB / 0.7401 GB, free: 10.03 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.002436/0.627, allocations: 1.374 MB / 0.7415 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.6271, allocations: 8.75 kB / 0.7415 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6282, allocations: 206.7 kB / 0.7417 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.6293, allocations: 0.7251 MB / 0.7424 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.6294, allocations: 67.12 kB / 0.7425 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.6295, allocations: 89.52 kB / 0.7425 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.6313, allocations: 0.9481 MB / 0.7435 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6313, allocations: 4 kB / 0.7435 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.376e-05/0.6314, allocations: 38.5 kB / 0.7435 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.6314, allocations: 21.19 kB / 0.7435 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.6331, allocations: 1.125 MB / 0.7446 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/0.6374, allocations: 2.473 MB / 0.747 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.6396, allocations: 0.8789 MB / 0.7479 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000554/0.6402, allocations: 282.7 kB / 0.7482 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.231e-05/0.6403, allocations: 32.69 kB / 0.7482 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00092/0.6412, allocations: 439.1 kB / 0.7486 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.505e-06/0.6412, allocations: 4 kB / 0.7486 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003129/0.6444, allocations: 1.096 MB / 0.7497 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.6445, allocations: 192.6 kB / 0.7499 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/0.6453, allocations: 0.5939 MB / 0.7505 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.543e-05/0.6454, allocations: 41.7 kB / 0.7505 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.6458, allocations: 404.2 kB / 0.7509 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.646, allocations: 236.5 kB / 0.7511 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.6463, allocations: 154.5 kB / 0.7513 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.6465, allocations: 382.7 kB / 0.7516 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.647, allocations: 241.9 kB / 0.7519 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.6477, allocations: 342.2 kB / 0.7522 GB, free: 312 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.6488, allocations: 0.5605 MB / 0.7527 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6488, allocations: 4 kB / 0.7527 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001992/0.6508, allocations: 0.7941 MB / 0.7535 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6509, allocations: 4 kB / 0.7535 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6509, allocations: 7.938 kB / 0.7535 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.6515, allocations: 80.86 kB / 0.7536 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.6522, allocations: 151.8 kB / 0.7537 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.6544, allocations: 1.622 MB / 0.7553 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007459/0.6552, allocations: 87.42 kB / 0.7554 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.6553, allocations: 31.97 kB / 0.7554 GB, free: 12.8 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.0004682/0.6557, allocations: 262.9 kB / 0.7557 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.6559, allocations: 82.98 kB / 0.7558 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.6583, allocations: 0.9973 MB / 0.7567 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.6583, allocations: 12 kB / 0.7568 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6583, allocations: 0 / 0.7568 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.6583, allocations: 7.922 kB / 0.7568 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/0.6618, allocations: 1.904 MB / 0.7586 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6618, allocations: 0 / 0.7586 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/0.6624, allocations: 143.8 kB / 0.7588 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/0.6629, allocations: 72.78 kB / 0.7588 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/0.6629, allocations: 23.98 kB / 0.7588 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.665, allocations: 1.657 MB / 0.7605 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.665, allocations: 3.938 kB / 0.7605 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.6671, allocations: 0.9181 MB / 0.7614 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/0.6675, allocations: 259.8 kB / 0.7616 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.6676, allocations: 16.14 kB / 0.7616 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005816/0.6682, allocations: 56.81 kB / 0.7617 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.6683, allocations: 64.91 kB / 0.7617 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.6684, allocations: 31.97 kB / 0.7618 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005841/0.669, allocations: 439 kB / 0.7622 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.61e-07/0.669, allocations: 0 / 0.7622 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009459/0.67, allocations: 307 kB / 0.7625 GB, free: 5.332 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.001911/0.6719, allocations: 0.5912 MB / 0.7631 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002406/0.6743, allocations: 0.9554 MB / 0.764 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/0.6743, allocations: 4 kB / 0.764 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000941/0.6753, allocations: 497.5 kB / 0.7645 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.6765, allocations: 299.2 kB / 0.7648 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.6807, allocations: 2.143 MB / 0.7669 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.6814, allocations: 1.021 MB / 0.7678 GB, free: 12 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008999/0.6823, allocations: 258.3 kB / 0.7681 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.6826, allocations: 99.39 kB / 0.7682 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of SimCode: time 9.41e-07/0.6826, allocations: 0 / 0.7682 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.02646/0.7091, allocations: 14 MB / 0.7819 GB, free: 1.82 MB / 0.5919 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)