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.001421/0.001421, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001757/0.001757, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8075/0.8075, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 65.38 kB / 0.5013 GB, free: 9.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1844, allocations: 80.2 MB / 0.5796 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007789/0.1922, allocations: 4.92 MB / 0.5844 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4719/0.6642, allocations: 148.6 MB / 0.7295 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009565/0.6652, allocations: 21.75 kB / 0.7295 GB, free: 2.301 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006446/0.6659, allocations: 149.2 kB / 0.7296 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.6676, allocations: 0.4979 MB / 0.7301 GB, free: 1.938 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.6697, allocations: 0.8338 MB / 0.7309 GB, free: 1.484 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.6714, allocations: 1.544 MB / 0.7324 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.6728, allocations: 1.153 MB / 0.7336 GB, free: 80 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008944/0.6737, allocations: 0.6843 MB / 0.7342 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007016/0.6744, allocations: 0.7408 MB / 0.735 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.6746, allocations: 191.8 kB / 0.7351 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000802/0.6754, allocations: 0.5213 MB / 0.7357 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.6757, allocations: 441 kB / 0.7361 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.6763, allocations: 0.8033 MB / 0.7369 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.6783, allocations: 2.255 MB / 0.7391 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6783, allocations: 4 kB / 0.7391 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6783, allocations: 3.938 kB / 0.7391 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.6784, allocations: 0 / 0.7391 GB, free: 13.32 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002943/0.6813, allocations: 1.818 MB / 0.7408 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.6814, allocations: 10.25 kB / 0.7409 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.6824, allocations: 242.4 kB / 0.7411 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.6835, allocations: 0.9005 MB / 0.742 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.6837, allocations: 136.1 kB / 0.7421 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.6838, allocations: 142.6 kB / 0.7422 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.6862, allocations: 1.47 MB / 0.7437 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.6862, allocations: 2.594 kB / 0.7437 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.6864, allocations: 56.94 kB / 0.7437 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.6864, allocations: 37.16 kB / 0.7438 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.6886, allocations: 1.498 MB / 0.7452 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005944/0.6946, allocations: 3.933 MB / 0.7491 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.6961, allocations: 0.9113 MB / 0.75 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/0.6967, allocations: 371.7 kB / 0.7503 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.262e-05/0.6968, allocations: 45.06 kB / 0.7504 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.6978, allocations: 0.5397 MB / 0.7509 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=93): time 2.344e-06/0.6978, allocations: 0 / 0.7509 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93): time 0.003347/0.7012, allocations: 1.376 MB / 0.7522 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.7013, allocations: 192.9 kB / 0.7524 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009536/0.7023, allocations: 0.7668 MB / 0.7532 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-05/0.7024, allocations: 41.7 kB / 0.7532 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.7028, allocations: 0.5774 MB / 0.7538 GB, free: 492 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.7031, allocations: 303.6 kB / 0.754 GB, free: 184 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.7034, allocations: 194.6 kB / 0.7542 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7035, allocations: 345.9 kB / 0.7546 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/0.7041, allocations: 325.8 kB / 0.7549 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006956/0.7048, allocations: 431.9 kB / 0.7553 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.7061, allocations: 0.7706 MB / 0.756 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7061, allocations: 0 / 0.756 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002229/0.7084, allocations: 1.024 MB / 0.757 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.7084, allocations: 11.48 kB / 0.7571 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7084, allocations: 3.938 kB / 0.7571 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/0.709, allocations: 88.78 kB / 0.7571 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008168/0.7099, allocations: 203.2 kB / 0.7573 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.712, allocations: 1.642 MB / 0.7589 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008668/0.7129, allocations: 107.2 kB / 0.759 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.328e-05/0.713, allocations: 43.97 kB / 0.7591 GB, free: 10.82 MB / 0.5762 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.0006328/0.7136, allocations: 323.1 kB / 0.7594 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.7138, allocations: 98.78 kB / 0.7595 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/0.7166, allocations: 1.288 MB / 0.7607 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.7166, allocations: 15.98 kB / 0.7608 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7166, allocations: 7.938 kB / 0.7608 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.7167, allocations: 3.984 kB / 0.7608 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/0.7205, allocations: 2.491 MB / 0.7632 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.7205, allocations: 0 / 0.7632 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007354/0.7212, allocations: 175.8 kB / 0.7634 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/0.7217, allocations: 80.72 kB / 0.7634 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.568e-05/0.7218, allocations: 23.98 kB / 0.7635 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.7237, allocations: 1.672 MB / 0.7651 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7237, allocations: 1 kB / 0.7651 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.726, allocations: 1.117 MB / 0.7662 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.7264, allocations: 307.5 kB / 0.7665 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.7266, allocations: 23.94 kB / 0.7665 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007288/0.7273, allocations: 67.5 kB / 0.7666 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.7275, allocations: 73.03 kB / 0.7666 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.532e-05/0.7276, allocations: 44.84 kB / 0.7667 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007603/0.7283, allocations: 0.5537 MB / 0.7672 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7284, allocations: 0 / 0.7672 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001061/0.7294, allocations: 410.4 kB / 0.7676 GB, free: 1.828 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 (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.001346/0.7308, allocations: 0.5993 MB / 0.7682 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002769/0.7336, allocations: 1.21 MB / 0.7694 GB, free: 240 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7336, allocations: 0 / 0.7694 GB, free: 240 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009897/0.7346, allocations: 0.5822 MB / 0.77 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.7359, allocations: 311.2 kB / 0.7702 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/0.7408, allocations: 2.987 MB / 0.7732 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.7415, allocations: 1.166 MB / 0.7743 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009803/0.7425, allocations: 295.8 kB / 0.7746 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.7428, allocations: 123.4 kB / 0.7747 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of SimCode: time 8.11e-07/0.7428, allocations: 0 / 0.7747 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.02754/0.7703, allocations: 17.15 MB / 0.7915 GB, free: 9.773 MB / 0.6075 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)