Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, 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.0009999/0.0009996, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.213/1.213, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6877/0.6877, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 68.22 kB / 0.5018 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3417, allocations: 80.2 MB / 0.5801 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005633/0.3473, allocations: 4.926 MB / 0.5849 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.15/0.4974, allocations: 150.8 MB / 0.7322 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008422/0.4983, allocations: 15.94 kB / 0.7322 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.4988, allocations: 194.1 kB / 0.7324 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.5004, allocations: 0.5567 MB / 0.7329 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.5023, allocations: 0.9248 MB / 0.7338 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.5036, allocations: 1.545 MB / 0.7353 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.5047, allocations: 1.16 MB / 0.7364 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006024/0.5053, allocations: 0.6773 MB / 0.7371 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006052/0.506, allocations: 0.739 MB / 0.7378 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.5062, allocations: 188 kB / 0.738 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008194/0.507, allocations: 0.5269 MB / 0.7385 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.5073, allocations: 434.6 kB / 0.7389 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005422/0.5079, allocations: 0.8084 MB / 0.7397 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.5097, allocations: 2.251 MB / 0.7419 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5097, allocations: 7.984 kB / 0.7419 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5097, allocations: 0 / 0.7419 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.5097, allocations: 0 / 0.7419 GB, free: 11.22 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002465/0.5122, allocations: 1.814 MB / 0.7437 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5122, allocations: 12.03 kB / 0.7437 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000889/0.5131, allocations: 234.8 kB / 0.7439 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.5142, allocations: 0.9033 MB / 0.7448 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.5143, allocations: 136.7 kB / 0.745 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.5144, allocations: 140 kB / 0.7451 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.5165, allocations: 1.473 MB / 0.7465 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.5165, allocations: 3.938 kB / 0.7465 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.5166, allocations: 63.98 kB / 0.7466 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.5166, allocations: 36 kB / 0.7466 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.5188, allocations: 1.494 MB / 0.7481 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005095/0.5239, allocations: 3.943 MB / 0.7519 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.5253, allocations: 0.9075 MB / 0.7528 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.5258, allocations: 363.7 kB / 0.7532 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.856e-05/0.5259, allocations: 41.02 kB / 0.7532 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009056/0.5268, allocations: 0.5554 MB / 0.7537 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=93): time 2.174e-06/0.5268, allocations: 0 / 0.7537 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93): time 0.003057/0.5299, allocations: 1.376 MB / 0.7551 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.53, allocations: 188.9 kB / 0.7553 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000789/0.5308, allocations: 0.7667 MB / 0.756 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.829e-05/0.5309, allocations: 41.7 kB / 0.7561 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.5312, allocations: 0.5813 MB / 0.7566 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.5314, allocations: 311.5 kB / 0.7569 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.5317, allocations: 194.5 kB / 0.7571 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5318, allocations: 337.9 kB / 0.7574 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.5324, allocations: 325.8 kB / 0.7577 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006821/0.5331, allocations: 439.9 kB / 0.7582 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.5345, allocations: 0.7578 MB / 0.7589 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.5345, allocations: 4 kB / 0.7589 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002156/0.5366, allocations: 1.024 MB / 0.7599 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.5367, allocations: 8 kB / 0.7599 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.5367, allocations: 3.938 kB / 0.7599 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/0.5373, allocations: 88.77 kB / 0.76 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.5381, allocations: 191.8 kB / 0.7602 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.5403, allocations: 1.65 MB / 0.7618 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/0.5411, allocations: 99.08 kB / 0.7619 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.5412, allocations: 40.03 kB / 0.7619 GB, free: 6.164 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.0006867/0.5419, allocations: 335 kB / 0.7622 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.5421, allocations: 102.8 kB / 0.7623 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.5448, allocations: 1.279 MB / 0.7636 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.5448, allocations: 19.86 kB / 0.7636 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5448, allocations: 4 kB / 0.7636 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.5448, allocations: 3.984 kB / 0.7636 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.5484, allocations: 2.498 MB / 0.7661 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5484, allocations: 4 kB / 0.7661 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/0.5491, allocations: 175.8 kB / 0.7662 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/0.5495, allocations: 68.78 kB / 0.7663 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.5496, allocations: 35.98 kB / 0.7663 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.5513, allocations: 1.681 MB / 0.768 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5513, allocations: 0 / 0.768 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.5533, allocations: 1.109 MB / 0.7691 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/0.5537, allocations: 315.5 kB / 0.7694 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.5538, allocations: 27.94 kB / 0.7694 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006846/0.5545, allocations: 64 kB / 0.7694 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.5547, allocations: 72.89 kB / 0.7695 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/0.5548, allocations: 39.97 kB / 0.7696 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006733/0.5554, allocations: 0.5615 MB / 0.7701 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5554, allocations: 0 / 0.7701 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009759/0.5564, allocations: 406.4 kB / 0.7705 GB, free: 13.12 MB / 0.6075 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 (107): * Single equations (assignments): 104 * 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.001303/0.5577, allocations: 0.5952 MB / 0.7711 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002829/0.5606, allocations: 1.206 MB / 0.7722 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5606, allocations: 0 / 0.7722 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.5616, allocations: 0.5824 MB / 0.7728 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.563, allocations: 297.5 kB / 0.7731 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.5677, allocations: 2.349 MB / 0.7754 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007841/0.5685, allocations: 1.17 MB / 0.7765 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009008/0.5694, allocations: 287.9 kB / 0.7768 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.5698, allocations: 127.4 kB / 0.7769 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of SimCode: time 9.72e-07/0.5698, allocations: 0 / 0.7769 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of Templates: time 0.02633/0.5961, allocations: 17.2 MB / 0.7937 GB, free: 5.66 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)