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.001843/0.001843, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.002275/0.002275, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.506/1.506, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.8487/0.8487, allocations: 134 MB / 442.8 MB, free: 11.3 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.00192/0.00192, allocations: 66.38 kB / 0.6134 GB, free: 8.762 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1581, allocations: 85.85 MB / 0.6972 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008266/0.1664, allocations: 6.115 MB / 0.7032 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5131/0.6795, allocations: 154.8 MB / 0.8544 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.6805, allocations: 35.75 kB / 0.8544 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007416/0.6813, allocations: 248.4 kB / 0.8547 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.6834, allocations: 0.6357 MB / 0.8553 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.6864, allocations: 1.293 MB / 0.8566 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00339/0.6898, allocations: 2.442 MB / 0.8589 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.6914, allocations: 1.139 MB / 0.8601 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.693, allocations: 1.11 MB / 0.8611 GB, free: 384 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.6945, allocations: 1.202 MB / 0.8623 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003788/0.6949, allocations: 300 kB / 0.8626 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.6962, allocations: 0.7065 MB / 0.8633 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005847/0.6968, allocations: 0.6543 MB / 0.8639 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.6979, allocations: 1.178 MB / 0.8651 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.7021, allocations: 3.354 MB / 0.8684 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7021, allocations: 0 / 0.8684 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7021, allocations: 0 / 0.8684 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.27e-05/0.7022, allocations: 0 / 0.8684 GB, free: 8.969 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.0061/0.7083, allocations: 2.676 MB / 0.871 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7083, allocations: 13.11 kB / 0.871 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000408/0.7087, allocations: 304.3 kB / 0.8713 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01939/0.7281, allocations: 2.301 MB / 0.8735 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.731, allocations: 1.234 MB / 0.8747 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.7312, allocations: 160.4 kB / 0.8749 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005006/0.7317, allocations: 215.9 kB / 0.8751 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009283/0.7409, allocations: 3.154 MB / 0.8782 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/0.741, allocations: 3.938 kB / 0.8782 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002819/0.7413, allocations: 88 kB / 0.8783 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/0.7413, allocations: 52 kB / 0.8783 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.755, allocations: 4.107 MB / 0.8823 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01702/0.772, allocations: 6.96 MB / 0.8891 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009362/0.7814, allocations: 2.527 MB / 0.8916 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004605/0.786, allocations: 1.299 MB / 0.8928 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008614/0.7868, allocations: 0.5071 MB / 0.8933 GB, free: 14.95 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005448/0.7923, allocations: 1.693 MB / 0.895 GB, free: 13.24 MB / 0.67 GB Notification: Performance of pre-optimization done (n=195): time 4.027e-06/0.7923, allocations: 3.938 kB / 0.895 GB, free: 13.24 MB / 0.67 GB Notification: Performance of matching and sorting (n=195): time 0.01594/0.8082, allocations: 4.205 MB / 0.8991 GB, free: 9.008 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.8083, allocations: 201.9 kB / 0.8993 GB, free: 8.766 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.8098, allocations: 0.8907 MB / 0.9002 GB, free: 7.852 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.8101, allocations: 57.7 kB / 0.9002 GB, free: 7.789 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007599/0.8108, allocations: 0.7364 MB / 0.9009 GB, free: 7.043 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007986/0.8116, allocations: 0.6661 MB / 0.9016 GB, free: 6.371 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000759/0.8124, allocations: 351.3 kB / 0.9019 GB, free: 6.023 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8125, allocations: 301.1 kB / 0.9022 GB, free: 5.727 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004439/0.817, allocations: 1.167 MB / 0.9034 GB, free: 4.559 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004645/0.8216, allocations: 1.355 MB / 0.9047 GB, free: 3.168 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00904/0.8307, allocations: 2.473 MB / 0.9071 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.8307, allocations: 3.938 kB / 0.9071 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01088/0.8416, allocations: 2.906 MB / 0.9099 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.8416, allocations: 8 kB / 0.9099 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.8416, allocations: 0 / 0.9099 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006499/0.8423, allocations: 92.39 kB / 0.91 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/0.8461, allocations: 0.5539 MB / 0.9106 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.8485, allocations: 1.64 MB / 0.9122 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/0.8517, allocations: 340.9 kB / 0.9125 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002954/0.852, allocations: 84.02 kB / 0.9126 GB, free: 10.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.001127/0.8532, allocations: 411.3 kB / 0.913 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/0.8537, allocations: 158.9 kB / 0.9131 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.8656, allocations: 3.477 MB / 0.9165 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.8656, allocations: 20 kB / 0.9165 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8656, allocations: 0 / 0.9165 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.951e-05/0.8657, allocations: 11.95 kB / 0.9165 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.881, allocations: 5.775 MB / 0.9222 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.881, allocations: 0 / 0.9222 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003648/0.8846, allocations: 0.5461 MB / 0.9227 GB, free: 444 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004868/0.8851, allocations: 76.78 kB / 0.9228 GB, free: 364 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/0.8853, allocations: 67.92 kB / 0.9229 GB, free: 296 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.8875, allocations: 1.658 MB / 0.9245 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8875, allocations: 3.938 kB / 0.9245 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.898, allocations: 3.058 MB / 0.9275 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.8991, allocations: 0.5226 MB / 0.928 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/0.8995, allocations: 51.88 kB / 0.928 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002831/0.9023, allocations: 247.8 kB / 0.9283 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/0.9026, allocations: 129.8 kB / 0.9284 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000234/0.9028, allocations: 79.92 kB / 0.9285 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001073/0.9039, allocations: 0.6627 MB / 0.9291 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.9039, allocations: 0 / 0.9291 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001771/0.9057, allocations: 0.5961 MB / 0.9297 GB, free: 9.09 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.0133/0.919, allocations: 4.163 MB / 0.9338 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01068/0.9297, allocations: 2.838 MB / 0.9365 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9297, allocations: 0 / 0.9365 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00548/0.9351, allocations: 1.536 MB / 0.938 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.937, allocations: 352.6 kB / 0.9384 GB, free: 408 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04268/0.9797, allocations: 15.18 MB / 0.9532 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.9809, allocations: 1.377 MB / 0.9545 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002687/0.9836, allocations: 0.5587 MB / 0.9551 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/0.9853, allocations: 0.8271 MB / 0.9559 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of SimCode: time 1.112e-06/0.9853, allocations: 0 / 0.9559 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08759/1.073, allocations: 39.47 MB / 0.9944 GB, free: 7.023 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.67, allocations: 18.34 kB / 0.9945 GB, free: 7.012 MB / 0.7637 GB " [Timeout remaining time 644] (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: 19.53156020899769] Failed to read output from testmodel.py, exit status != 0: 15.891533653993974 15.918299274 15.211536747 Calling exit ...