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.001197/0.001202, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001661/0.001661, allocations: 192.8 kB / 16.14 MB, free: 6.695 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8275/0.8275, allocations: 132.2 MB / 422.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 66.8 kB / 0.5011 GB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4973/0.4988, allocations: 80.19 MB / 0.5794 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006664/0.5055, allocations: 4.922 MB / 0.5842 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1815/0.687, allocations: 148.5 MB / 0.7292 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.6883, allocations: 15.94 kB / 0.7292 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006341/0.689, allocations: 146.8 kB / 0.7294 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.691, allocations: 480.7 kB / 0.7298 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.6935, allocations: 0.8201 MB / 0.7306 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.6952, allocations: 1.44 MB / 0.732 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.6967, allocations: 1.116 MB / 0.7331 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008586/0.6976, allocations: 0.5912 MB / 0.7337 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006775/0.6983, allocations: 0.682 MB / 0.7344 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.6985, allocations: 108 kB / 0.7345 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009988/0.6995, allocations: 451.6 kB / 0.7349 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003122/0.6998, allocations: 362.6 kB / 0.7353 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006411/0.7005, allocations: 0.7263 MB / 0.736 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.7026, allocations: 2.185 MB / 0.7381 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7026, allocations: 0 / 0.7381 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7026, allocations: 0 / 0.7381 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.7027, allocations: 4 kB / 0.7381 GB, free: 14.81 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.003341/0.706, allocations: 1.814 MB / 0.7399 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.7061, allocations: 12.03 kB / 0.7399 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.7071, allocations: 238.8 kB / 0.7401 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.7085, allocations: 0.8955 MB / 0.741 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.7086, allocations: 148.6 kB / 0.7411 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.7088, allocations: 140 kB / 0.7413 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/0.7114, allocations: 1.465 MB / 0.7427 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/0.7115, allocations: 7.984 kB / 0.7427 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.7116, allocations: 60 kB / 0.7428 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.7116, allocations: 36 kB / 0.7428 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.714, allocations: 1.49 MB / 0.7443 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006132/0.7202, allocations: 3.947 MB / 0.7481 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.7218, allocations: 0.9076 MB / 0.749 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.7224, allocations: 367.7 kB / 0.7493 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.854e-05/0.7225, allocations: 40.92 kB / 0.7494 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.7236, allocations: 0.5475 MB / 0.7499 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 2.314e-06/0.7236, allocations: 0 / 0.7499 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003505/0.7271, allocations: 1.376 MB / 0.7513 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.7273, allocations: 192.9 kB / 0.7514 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.7283, allocations: 0.7667 MB / 0.7522 GB, free: 32 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.132e-05/0.7284, allocations: 45.75 kB / 0.7522 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000553/0.729, allocations: 0.5813 MB / 0.7528 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.7293, allocations: 303.5 kB / 0.7531 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.7296, allocations: 190.5 kB / 0.7533 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002458/0.7298, allocations: 341.9 kB / 0.7536 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006299/0.7305, allocations: 333.8 kB / 0.7539 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007147/0.7312, allocations: 435.9 kB / 0.7543 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.7326, allocations: 0.7657 MB / 0.7551 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7326, allocations: 0 / 0.7551 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002451/0.735, allocations: 1.02 MB / 0.7561 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.7351, allocations: 8 kB / 0.7561 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.7351, allocations: 3.938 kB / 0.7561 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/0.7357, allocations: 84.83 kB / 0.7562 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008392/0.7366, allocations: 199.7 kB / 0.7564 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.7387, allocations: 1.539 MB / 0.7579 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008489/0.7396, allocations: 99.09 kB / 0.758 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-05/0.7397, allocations: 52.02 kB / 0.758 GB, free: 9.859 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.0006746/0.7404, allocations: 323.2 kB / 0.7583 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.7406, allocations: 102.8 kB / 0.7584 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/0.7435, allocations: 1.282 MB / 0.7597 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.7435, allocations: 12 kB / 0.7597 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7435, allocations: 0 / 0.7597 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.7436, allocations: 11.91 kB / 0.7597 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/0.7477, allocations: 2.49 MB / 0.7621 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.7477, allocations: 4 kB / 0.7621 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.7485, allocations: 183.7 kB / 0.7623 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005469/0.749, allocations: 88.7 kB / 0.7624 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.7491, allocations: 27.98 kB / 0.7624 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.751, allocations: 1.552 MB / 0.7639 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.751, allocations: 0 / 0.7639 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.7534, allocations: 1.121 MB / 0.765 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/0.7539, allocations: 319.4 kB / 0.7653 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.754, allocations: 20 kB / 0.7653 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/0.7547, allocations: 59.94 kB / 0.7654 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.7549, allocations: 76.83 kB / 0.7655 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/0.755, allocations: 39.97 kB / 0.7655 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008015/0.7558, allocations: 0.5615 MB / 0.7661 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.7558, allocations: 0 / 0.7661 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001162/0.757, allocations: 406.5 kB / 0.7664 GB, free: 0.9492 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.00139/0.7584, allocations: 0.6034 MB / 0.767 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.7603, allocations: 0.9564 MB / 0.768 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.7603, allocations: 0 / 0.768 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.7614, allocations: 0.5782 MB / 0.7685 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.7626, allocations: 283.5 kB / 0.7688 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.7677, allocations: 2.98 MB / 0.7717 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007527/0.7685, allocations: 1.158 MB / 0.7728 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009571/0.7695, allocations: 291.9 kB / 0.7731 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.7698, allocations: 135.2 kB / 0.7733 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.7698, allocations: 8 kB / 0.7733 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.02793/0.7977, allocations: 16.53 MB / 0.7894 GB, free: 9.746 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)