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.001231/0.001231, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001444/0.001444, allocations: 216 kB / 22.26 MB, free: 5.113 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 8.027 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.8482/0.8482, allocations: 134 MB / 446.4 MB, free: 10.24 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.00194/0.00194, allocations: 66.17 kB / 0.6185 GB, free: 7.262 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1708, allocations: 85.9 MB / 0.7024 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008642/0.1795, allocations: 6.171 MB / 0.7084 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5253/0.7048, allocations: 155 MB / 0.8598 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.7062, allocations: 27.81 kB / 0.8598 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.7072, allocations: 256.4 kB / 0.86 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.71, allocations: 0.6425 MB / 0.8607 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0042/0.7142, allocations: 1.314 MB / 0.862 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003981/0.7181, allocations: 2.435 MB / 0.8643 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.7199, allocations: 1.124 MB / 0.8654 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.7215, allocations: 1.118 MB / 0.8665 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.7231, allocations: 1.202 MB / 0.8677 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003949/0.7235, allocations: 300 kB / 0.868 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.7248, allocations: 0.7144 MB / 0.8687 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005671/0.7254, allocations: 0.6504 MB / 0.8693 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.7265, allocations: 1.17 MB / 0.8705 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004213/0.7307, allocations: 3.357 MB / 0.8737 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.7307, allocations: 0 / 0.8737 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7307, allocations: 0 / 0.8737 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.715e-05/0.7308, allocations: 0 / 0.8737 GB, free: 7.031 MB / 0.6387 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.006637/0.7374, allocations: 2.604 MB / 0.8763 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.279e-05/0.7375, allocations: 8.031 kB / 0.8763 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004303/0.7379, allocations: 308.2 kB / 0.8766 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01767/0.7556, allocations: 2.301 MB / 0.8788 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/0.7582, allocations: 1.172 MB / 0.88 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.7584, allocations: 164.3 kB / 0.8801 GB, free: 396 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003826/0.7588, allocations: 208 kB / 0.8803 GB, free: 188 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008777/0.7676, allocations: 3.158 MB / 0.8834 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.7676, allocations: 0 / 0.8834 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.7679, allocations: 92 kB / 0.8835 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.7679, allocations: 52 kB / 0.8835 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01236/0.7803, allocations: 4.103 MB / 0.8876 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01592/0.7962, allocations: 6.872 MB / 0.8943 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008251/0.8044, allocations: 2.516 MB / 0.8967 GB, free: 15.19 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004227/0.8087, allocations: 1.302 MB / 0.898 GB, free: 13.88 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/0.8093, allocations: 130.3 kB / 0.8981 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004853/0.8142, allocations: 1.705 MB / 0.8998 GB, free: 12.04 MB / 0.67 GB Notification: Performance of pre-optimization done (n=195): time 3.467e-06/0.8142, allocations: 0 / 0.8998 GB, free: 12.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=195): time 0.01407/0.8282, allocations: 4.134 MB / 0.9038 GB, free: 7.895 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.8284, allocations: 201.9 kB / 0.904 GB, free: 7.652 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.8297, allocations: 0.8828 MB / 0.9049 GB, free: 6.746 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002664/0.83, allocations: 65.7 kB / 0.9049 GB, free: 6.676 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006676/0.8306, allocations: 0.7326 MB / 0.9057 GB, free: 5.934 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006718/0.8313, allocations: 0.6622 MB / 0.9063 GB, free: 5.266 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006554/0.832, allocations: 347.3 kB / 0.9066 GB, free: 4.922 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8321, allocations: 309.1 kB / 0.9069 GB, free: 4.617 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003947/0.836, allocations: 1.163 MB / 0.9081 GB, free: 3.453 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004088/0.8401, allocations: 1.355 MB / 0.9094 GB, free: 2.062 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008001/0.8481, allocations: 2.469 MB / 0.9118 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.8481, allocations: 3.938 kB / 0.9118 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009607/0.8577, allocations: 2.914 MB / 0.9146 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.8578, allocations: 4 kB / 0.9146 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8578, allocations: 0 / 0.9146 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.8584, allocations: 88.84 kB / 0.9147 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00357/0.862, allocations: 0.5578 MB / 0.9153 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.8642, allocations: 1.54 MB / 0.9168 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/0.8672, allocations: 338.7 kB / 0.9171 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003086/0.8675, allocations: 91.89 kB / 0.9172 GB, free: 9.91 MB / 0.6856 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.001096/0.8686, allocations: 401.4 kB / 0.9176 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004183/0.869, allocations: 155 kB / 0.9177 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.8799, allocations: 3.479 MB / 0.9211 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.8799, allocations: 20 kB / 0.9211 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8799, allocations: 3.938 kB / 0.9211 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/0.8799, allocations: 11.95 kB / 0.9212 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.8937, allocations: 5.746 MB / 0.9268 GB, free: 28 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.8937, allocations: 0 / 0.9268 GB, free: 28 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003594/0.8973, allocations: 0.5461 MB / 0.9273 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004899/0.8978, allocations: 72.8 kB / 0.9274 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/0.898, allocations: 67.92 kB / 0.9274 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.9001, allocations: 1.555 MB / 0.929 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9001, allocations: 3.938 kB / 0.929 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009942/0.9101, allocations: 3.07 MB / 0.932 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.9113, allocations: 440.2 kB / 0.9324 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/0.9116, allocations: 48.03 kB / 0.9324 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002675/0.9143, allocations: 257.9 kB / 0.9327 GB, free: 9.84 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/0.9145, allocations: 133.7 kB / 0.9328 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001941/0.9147, allocations: 79.92 kB / 0.9329 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009696/0.9157, allocations: 0.6627 MB / 0.9335 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.9157, allocations: 0 / 0.9335 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001608/0.9173, allocations: 0.5961 MB / 0.9341 GB, free: 8.363 MB / 0.7012 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.0117/0.929, allocations: 4.165 MB / 0.9382 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009614/0.9386, allocations: 2.827 MB / 0.9409 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.9386, allocations: 4 kB / 0.9409 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004865/0.9435, allocations: 1.536 MB / 0.9424 GB, free: 0 / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.9452, allocations: 353.7 kB / 0.9428 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03891/0.9841, allocations: 15.19 MB / 0.9576 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.9852, allocations: 1.374 MB / 0.9589 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00252/0.9877, allocations: 0.5548 MB / 0.9595 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/0.9893, allocations: 0.8233 MB / 0.9603 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/0.9893, allocations: 4 kB / 0.9603 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/1.106, allocations: 40.82 MB / 1 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.55, allocations: 4.062 kB / 1 GB, free: 4.871 MB / 0.7637 GB " [Timeout remaining time 643] (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: 20.41651501999877] Failed to read output from testmodel.py, exit status != 0: 16.78096466900024 16.796833941 16.062900278 Calling exit ...