Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001608/0.001609, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001526/0.001525, allocations: 194.3 kB / 16.14 MB, free: 6.652 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.2 kB / 0.5047 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2079, allocations: 80.92 MB / 0.5837 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00772/0.2156, allocations: 4.91 MB / 0.5885 GB, free: 92 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4924/0.7081, allocations: 148.5 MB / 0.7335 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.7093, allocations: 17.09 kB / 0.7335 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.71, allocations: 147.4 kB / 0.7337 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.712, allocations: 478.4 kB / 0.7341 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.7144, allocations: 0.8279 MB / 0.7349 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002139/0.7165, allocations: 1.435 MB / 0.7363 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.7182, allocations: 1.112 MB / 0.7374 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.7193, allocations: 0.5992 MB / 0.738 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008015/0.7201, allocations: 0.6772 MB / 0.7387 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.7203, allocations: 106.9 kB / 0.7388 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.7214, allocations: 450.4 kB / 0.7392 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.7218, allocations: 361.8 kB / 0.7395 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007901/0.7226, allocations: 0.7254 MB / 0.7402 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.7254, allocations: 2.182 MB / 0.7424 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7254, allocations: 0 / 0.7424 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7255, allocations: 5.375 kB / 0.7424 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.186e-05/0.7255, allocations: 0 / 0.7424 GB, free: 8.551 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.003984/0.7295, allocations: 1.821 MB / 0.7442 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/0.7296, allocations: 8.562 kB / 0.7442 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.7308, allocations: 242.1 kB / 0.7444 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.7322, allocations: 0.8999 MB / 0.7453 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.7323, allocations: 135.4 kB / 0.7454 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.7325, allocations: 142.4 kB / 0.7455 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.7352, allocations: 1.468 MB / 0.747 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.7353, allocations: 0 / 0.747 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.7354, allocations: 65.58 kB / 0.747 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.7354, allocations: 35.94 kB / 0.7471 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.7379, allocations: 1.488 MB / 0.7485 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007126/0.745, allocations: 3.946 MB / 0.7524 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.7468, allocations: 0.9044 MB / 0.7533 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/0.7475, allocations: 364.5 kB / 0.7536 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.7476, allocations: 44.94 kB / 0.7537 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.7488, allocations: 0.5437 MB / 0.7542 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 3.536e-06/0.7488, allocations: 0 / 0.7542 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.00374/0.7526, allocations: 1.369 MB / 0.7555 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.7527, allocations: 192.9 kB / 0.7557 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.7541, allocations: 0.7628 MB / 0.7564 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.7542, allocations: 49.64 kB / 0.7565 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006368/0.7548, allocations: 0.5775 MB / 0.7571 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.7552, allocations: 315.4 kB / 0.7574 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/0.7555, allocations: 190.5 kB / 0.7575 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.7557, allocations: 345.9 kB / 0.7579 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006734/0.7563, allocations: 325.8 kB / 0.7582 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008482/0.7572, allocations: 439.9 kB / 0.7586 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.7587, allocations: 0.7627 MB / 0.7593 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.7587, allocations: 0 / 0.7593 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002604/0.7613, allocations: 1.024 MB / 0.7603 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.7613, allocations: 4 kB / 0.7603 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.7614, allocations: 4 kB / 0.7604 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006716/0.762, allocations: 88.77 kB / 0.7604 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009215/0.763, allocations: 203.7 kB / 0.7606 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.7653, allocations: 1.529 MB / 0.7621 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009576/0.7663, allocations: 103.1 kB / 0.7622 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.7664, allocations: 43.95 kB / 0.7623 GB, free: 6.102 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.0007151/0.7672, allocations: 321.7 kB / 0.7626 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.7675, allocations: 98.72 kB / 0.7627 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/0.7707, allocations: 1.298 MB / 0.7639 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.7707, allocations: 8 kB / 0.7639 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7707, allocations: 0 / 0.7639 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.7707, allocations: 7.984 kB / 0.7639 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00502/0.7758, allocations: 2.488 MB / 0.7664 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/0.7758, allocations: 0 / 0.7664 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/0.7766, allocations: 183.7 kB / 0.7666 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000592/0.7772, allocations: 84.77 kB / 0.7666 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.953e-05/0.7773, allocations: 23.98 kB / 0.7667 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.7794, allocations: 1.575 MB / 0.7682 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.7794, allocations: 4.062 kB / 0.7682 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.782, allocations: 1.117 MB / 0.7693 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006676/0.7827, allocations: 315.5 kB / 0.7696 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.7829, allocations: 23.88 kB / 0.7696 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008145/0.7837, allocations: 63.94 kB / 0.7697 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.7839, allocations: 72.89 kB / 0.7697 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.7841, allocations: 43.97 kB / 0.7698 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001058/0.7851, allocations: 0.5575 MB / 0.7703 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7851, allocations: 0 / 0.7703 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001398/0.7865, allocations: 410.5 kB / 0.7707 GB, free: 13.18 MB / 0.5919 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.001686/0.7882, allocations: 0.59 MB / 0.7713 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002276/0.7905, allocations: 0.9639 MB / 0.7722 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7905, allocations: 4.062 kB / 0.7722 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.7917, allocations: 0.5705 MB / 0.7728 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.7933, allocations: 290.1 kB / 0.7731 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006081/0.7994, allocations: 2.988 MB / 0.776 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.8005, allocations: 1.158 MB / 0.7771 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001291/0.8018, allocations: 287.9 kB / 0.7774 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.8022, allocations: 127.4 kB / 0.7775 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of SimCode: time 1.293e-06/0.8022, allocations: 0 / 0.7775 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of Templates: time 0.03289/0.8351, allocations: 16.54 MB / 0.7937 GB, free: 5.973 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)