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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004704/0.004704, allocations: 102.1 kB / 15.73 MB, free: 5.516 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.001274/0.001274, allocations: 202 kB / 16.68 MB, free: 5.445 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.129 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8296/0.8296, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.89 kB / 0.5808 GB, free: 8.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3394, allocations: 80.21 MB / 0.6592 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00528/0.3447, allocations: 4.912 MB / 0.664 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1742/0.5189, allocations: 150.8 MB / 0.8113 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007471/0.5197, allocations: 23.88 kB / 0.8113 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.5203, allocations: 190.1 kB / 0.8115 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.522, allocations: 0.5602 MB / 0.812 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.5241, allocations: 0.9193 MB / 0.8129 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.5257, allocations: 1.557 MB / 0.8144 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.5272, allocations: 1.156 MB / 0.8155 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007731/0.528, allocations: 0.685 MB / 0.8162 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008266/0.5288, allocations: 0.735 MB / 0.8169 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.5291, allocations: 192 kB / 0.8171 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009148/0.53, allocations: 0.5464 MB / 0.8177 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.5304, allocations: 438.7 kB / 0.8181 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007543/0.5312, allocations: 0.8122 MB / 0.8189 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.5337, allocations: 2.321 MB / 0.8211 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5337, allocations: 7.875 kB / 0.8211 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5337, allocations: 0 / 0.8211 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.5337, allocations: 0 / 0.8211 GB, free: 15.66 MB / 0.6544 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.003097/0.5368, allocations: 1.866 MB / 0.823 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.5369, allocations: 12.03 kB / 0.823 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002697/0.5371, allocations: 215.6 kB / 0.8232 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.5382, allocations: 255.7 kB / 0.8234 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.5396, allocations: 0.9232 MB / 0.8243 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.5398, allocations: 136.7 kB / 0.8245 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.54, allocations: 144 kB / 0.8246 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.5425, allocations: 1.469 MB / 0.826 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.5426, allocations: 4 kB / 0.826 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.5427, allocations: 64 kB / 0.8261 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.5427, allocations: 36 kB / 0.8261 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00266/0.5454, allocations: 1.49 MB / 0.8276 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006201/0.5516, allocations: 3.891 MB / 0.8314 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.5533, allocations: 0.9036 MB / 0.8323 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/0.554, allocations: 363.7 kB / 0.8326 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.466e-05/0.5541, allocations: 45.05 kB / 0.8327 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.5552, allocations: 0.5436 MB / 0.8332 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=93): time 2.364e-06/0.5552, allocations: 0 / 0.8332 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of matching and sorting (n=93): time 0.003641/0.5589, allocations: 1.377 MB / 0.8345 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.559, allocations: 196.9 kB / 0.8347 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.5601, allocations: 0.7629 MB / 0.8355 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.51e-05/0.5601, allocations: 45.7 kB / 0.8355 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/0.5606, allocations: 0.5868 MB / 0.8361 GB, free: 15.99 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.5609, allocations: 337.1 kB / 0.8364 GB, free: 15.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/0.5612, allocations: 174.6 kB / 0.8366 GB, free: 15.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5614, allocations: 341.9 kB / 0.8369 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/0.5621, allocations: 301.8 kB / 0.8372 GB, free: 14.84 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.5629, allocations: 435.4 kB / 0.8376 GB, free: 14.39 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.5644, allocations: 0.7422 MB / 0.8383 GB, free: 13.63 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.5644, allocations: 0 / 0.8383 GB, free: 13.63 MB / 0.67 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00233/0.5668, allocations: 0.9858 MB / 0.8393 GB, free: 12.64 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.5668, allocations: 7.75 kB / 0.8393 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5668, allocations: 4 kB / 0.8393 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006303/0.5674, allocations: 88.77 kB / 0.8394 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/0.5683, allocations: 183.8 kB / 0.8396 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.5706, allocations: 1.642 MB / 0.8412 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006766/0.5713, allocations: 99.53 kB / 0.8413 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.945e-05/0.5714, allocations: 43.91 kB / 0.8413 GB, free: 10.43 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (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 (103): * Single equations (assignments): 102 * 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.0004753/0.5718, allocations: 314.9 kB / 0.8416 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.572, allocations: 107.3 kB / 0.8417 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/0.5752, allocations: 1.286 MB / 0.843 GB, free: 8.711 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.5752, allocations: 12 kB / 0.843 GB, free: 8.699 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.5752, allocations: 0 / 0.843 GB, free: 8.699 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.5752, allocations: 3.984 kB / 0.843 GB, free: 8.695 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/0.5795, allocations: 2.504 MB / 0.8454 GB, free: 6.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5795, allocations: 8 kB / 0.8454 GB, free: 6.117 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/0.5803, allocations: 171.8 kB / 0.8456 GB, free: 5.949 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/0.5808, allocations: 80.77 kB / 0.8457 GB, free: 5.867 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.5809, allocations: 27.98 kB / 0.8457 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.583, allocations: 1.674 MB / 0.8473 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.583, allocations: 0 / 0.8473 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.5854, allocations: 1.123 MB / 0.8484 GB, free: 2.883 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.5858, allocations: 320 kB / 0.8487 GB, free: 2.551 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.5859, allocations: 31.92 kB / 0.8488 GB, free: 2.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/0.5867, allocations: 62.59 kB / 0.8488 GB, free: 2.461 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.5868, allocations: 72.84 kB / 0.8489 GB, free: 2.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.164e-05/0.5869, allocations: 43.91 kB / 0.8489 GB, free: 2.344 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007922/0.5877, allocations: 0.5693 MB / 0.8495 GB, free: 1.781 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5877, allocations: 0 / 0.8495 GB, free: 1.781 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00095/0.5887, allocations: 402.7 kB / 0.8499 GB, free: 1.387 MB / 0.67 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.004452/0.5932, allocations: 2.162 MB / 0.852 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.5951, allocations: 0.9366 MB / 0.8529 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5952, allocations: 0 / 0.8529 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.5963, allocations: 0.5863 MB / 0.8535 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.5976, allocations: 306.8 kB / 0.8538 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/0.6118, allocations: 7.948 MB / 0.8615 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009075/0.6128, allocations: 1.166 MB / 0.8627 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009407/0.6137, allocations: 295.5 kB / 0.8629 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008462/0.6146, allocations: 0.5539 MB / 0.8635 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.6146, allocations: 0 / 0.8635 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3107/0.9253, allocations: 25.68 MB / 0.8886 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.21, allocations: 9.891 kB / 0.8886 GB, free: 185.3 MB / 0.6856 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)