Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 209.4 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.7 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8052/0.8052, allocations: 134 MB / 446.4 MB, free: 9.906 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 72.58 kB / 0.6185 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1612, allocations: 85.91 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007535/0.1687, allocations: 5.397 MB / 0.7076 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5425/0.7111, allocations: 133.5 MB / 0.838 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.7122, allocations: 31.84 kB / 0.838 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.7133, allocations: 250.8 kB / 0.8383 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00269/0.716, allocations: 0.6473 MB / 0.8389 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.7192, allocations: 1.327 MB / 0.8402 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003283/0.7225, allocations: 2.431 MB / 0.8426 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.7245, allocations: 1.092 MB / 0.8436 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.7264, allocations: 1.11 MB / 0.8447 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.7283, allocations: 1.058 MB / 0.8458 GB, free: 312 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007523/0.7291, allocations: 300 kB / 0.846 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.7308, allocations: 0.6871 MB / 0.8467 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009712/0.7318, allocations: 0.6426 MB / 0.8473 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.7334, allocations: 0.9564 MB / 0.8483 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00393/0.7374, allocations: 3.373 MB / 0.8516 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7374, allocations: 0 / 0.8516 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7374, allocations: 0 / 0.8516 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.452e-05/0.7374, allocations: 1.031 kB / 0.8516 GB, free: 10.34 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.005238/0.7426, allocations: 2.597 MB / 0.8541 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.7427, allocations: 16.03 kB / 0.8541 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003783/0.7431, allocations: 304.3 kB / 0.8544 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01711/0.7602, allocations: 2.293 MB / 0.8567 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.763, allocations: 1.172 MB / 0.8578 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.7631, allocations: 164.4 kB / 0.858 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/0.7635, allocations: 212 kB / 0.8582 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008241/0.7718, allocations: 3.401 MB / 0.8615 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.7718, allocations: 1.125 kB / 0.8615 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.772, allocations: 96 kB / 0.8616 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/0.7721, allocations: 55.94 kB / 0.8616 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.7841, allocations: 4.036 MB / 0.8656 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/0.7996, allocations: 6.132 MB / 0.8716 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008497/0.8081, allocations: 2.522 MB / 0.874 GB, free: 3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004141/0.8123, allocations: 1.302 MB / 0.8753 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/0.8129, allocations: 109.9 kB / 0.8754 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004835/0.8177, allocations: 1.795 MB / 0.8771 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=195): time 4.789e-06/0.8177, allocations: 0 / 0.8771 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=195): time 0.01435/0.8321, allocations: 4.136 MB / 0.8812 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.8322, allocations: 201.9 kB / 0.8814 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.8336, allocations: 0.8868 MB / 0.8822 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002012/0.8338, allocations: 61.7 kB / 0.8823 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007125/0.8345, allocations: 0.7366 MB / 0.883 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006797/0.8352, allocations: 0.6584 MB / 0.8837 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007052/0.8359, allocations: 351.3 kB / 0.884 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.836, allocations: 301.1 kB / 0.8843 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003997/0.84, allocations: 1.163 MB / 0.8854 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00423/0.8443, allocations: 1.487 MB / 0.8869 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008068/0.8523, allocations: 2.477 MB / 0.8893 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.8523, allocations: 3.938 kB / 0.8893 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.00973/0.8621, allocations: 2.914 MB / 0.8921 GB, free: 200 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.8621, allocations: 4 kB / 0.8922 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.8621, allocations: 4 kB / 0.8922 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.8628, allocations: 84.94 kB / 0.8922 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/0.8663, allocations: 0.5655 MB / 0.8928 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.8686, allocations: 1.527 MB / 0.8943 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/0.8714, allocations: 338.7 kB / 0.8946 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/0.8717, allocations: 91.89 kB / 0.8947 GB, free: 13.47 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (207): * Single equations (assignments): 206 * 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.001057/0.8728, allocations: 405.4 kB / 0.8951 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005192/0.8733, allocations: 151 kB / 0.8952 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.8845, allocations: 3.498 MB / 0.8986 GB, free: 9.402 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/0.8845, allocations: 20 kB / 0.8987 GB, free: 9.383 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8846, allocations: 0 / 0.8987 GB, free: 9.383 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.248e-05/0.8846, allocations: 11.95 kB / 0.8987 GB, free: 9.371 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/0.8985, allocations: 5.341 MB / 0.9039 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.8985, allocations: 0 / 0.9039 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003351/0.9019, allocations: 0.5461 MB / 0.9044 GB, free: 3.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/0.9024, allocations: 76.78 kB / 0.9045 GB, free: 3.352 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/0.9026, allocations: 67.92 kB / 0.9046 GB, free: 3.285 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.9046, allocations: 1.539 MB / 0.9061 GB, free: 1.629 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.9046, allocations: 3.938 kB / 0.9061 GB, free: 1.625 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009793/0.9144, allocations: 3.07 MB / 0.9091 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.9159, allocations: 448.1 kB / 0.9095 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000499/0.9164, allocations: 39.94 kB / 0.9095 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002794/0.9192, allocations: 243.9 kB / 0.9098 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.9194, allocations: 137.7 kB / 0.9099 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002188/0.9197, allocations: 87.98 kB / 0.91 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00113/0.9208, allocations: 0.6666 MB / 0.9106 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9208, allocations: 0 / 0.9106 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001792/0.9226, allocations: 0.5999 MB / 0.9112 GB, free: 12.32 MB / 0.6856 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 (210): * Single equations (assignments): 207 * 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.01248/0.9351, allocations: 4.198 MB / 0.9153 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009277/0.9443, allocations: 2.827 MB / 0.9181 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9444, allocations: 256 / 0.9181 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004751/0.9491, allocations: 1.54 MB / 0.9196 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.951, allocations: 349 kB / 0.9199 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03969/0.9907, allocations: 15.17 MB / 0.9347 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.9919, allocations: 0.801 MB / 0.9355 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003012/0.9949, allocations: 0.5626 MB / 0.9361 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/0.9966, allocations: 0.8233 MB / 0.9369 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of SimCode: time 1.032e-06/0.9966, allocations: 0 / 0.9369 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09021/1.087, allocations: 41.73 MB / 0.9776 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.73, allocations: 13.61 kB / 0.9776 GB, free: 8.574 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_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_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.461079014930874] Failed to read output from testmodel.py, exit status != 0: 14.968279642984271 15.000357728 14.256812783 Calling exit ...