Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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: 118.6 kB / 19.7 MB, free: 2.203 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.00151/0.00151, allocations: 221 kB / 23 MB, free: 5.062 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9814/0.9814, allocations: 150 MB / 463.2 MB, free: 10.58 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002034/0.002034, allocations: 66.89 kB / 0.6412 GB, free: 10.57 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1766, allocations: 89.16 MB / 0.7283 GB, free: 1.473 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01051/0.1871, allocations: 8.543 MB / 0.7367 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5574/0.7444, allocations: 155.4 MB / 0.8884 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.746, allocations: 31.75 kB / 0.8884 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.747, allocations: 331 kB / 0.8887 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003261/0.7503, allocations: 0.8707 MB / 0.8896 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.7538, allocations: 1.428 MB / 0.891 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00457/0.7583, allocations: 3.007 MB / 0.8939 GB, free: 13.85 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.7601, allocations: 1.009 MB / 0.8949 GB, free: 12.78 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.7623, allocations: 1.254 MB / 0.8961 GB, free: 11.52 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.7642, allocations: 1.366 MB / 0.8974 GB, free: 10.15 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005161/0.7647, allocations: 324 kB / 0.8978 GB, free: 9.836 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.7663, allocations: 0.7378 MB / 0.8985 GB, free: 9.098 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006211/0.7669, allocations: 0.701 MB / 0.8992 GB, free: 8.395 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.7684, allocations: 1.341 MB / 0.9005 GB, free: 7.047 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.773, allocations: 3.726 MB / 0.9041 GB, free: 3.312 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.773, allocations: 0 / 0.9041 GB, free: 3.312 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.874e-06/0.773, allocations: 0 / 0.9041 GB, free: 3.312 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.785e-05/0.773, allocations: 0 / 0.9041 GB, free: 3.312 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006538/0.7795, allocations: 2.86 MB / 0.9069 GB, free: 396 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.7796, allocations: 8.031 kB / 0.9069 GB, free: 388 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004008/0.78, allocations: 316.9 kB / 0.9072 GB, free: 60 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04622/0.8262, allocations: 6.903 MB / 0.9139 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003328/0.8295, allocations: 1.372 MB / 0.9153 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.8297, allocations: 168.5 kB / 0.9154 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005747/0.8303, allocations: 216 kB / 0.9157 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02202/0.8523, allocations: 5.943 MB / 0.9215 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.8523, allocations: 0 / 0.9215 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003503/0.8527, allocations: 92 kB / 0.9215 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.8527, allocations: 52 kB / 0.9216 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0371/0.8898, allocations: 9.201 MB / 0.9306 GB, free: 7.969 MB / 0.7013 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03546/0.9253, allocations: 15.58 MB / 0.9458 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02178/0.9471, allocations: 5.215 MB / 0.9509 GB, free: 1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01704/0.9641, allocations: 3.858 MB / 0.9547 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.9644, allocations: 77.78 kB / 0.9547 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01822/0.9826, allocations: 4.471 MB / 0.9591 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=213): time 3.958e-06/0.9826, allocations: 0 / 0.9591 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=213): time 0.05145/1.034, allocations: 11.5 MB / 0.9703 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/1.034, allocations: 213.8 kB / 0.9705 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/1.036, allocations: 0.9698 MB / 0.9715 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0006878/1.036, allocations: 65.7 kB / 0.9715 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007822/1.037, allocations: 0.764 MB / 0.9723 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/1.038, allocations: 0.7243 MB / 0.973 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000971/1.039, allocations: 399.2 kB / 0.9734 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.039, allocations: 301.1 kB / 0.9737 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01609/1.056, allocations: 3.739 MB / 0.9773 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0174/1.073, allocations: 3.931 MB / 0.9812 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0308/1.104, allocations: 6.751 MB / 0.9877 GB, free: 11.07 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.104, allocations: 0 / 0.9877 GB, free: 11.07 MB / 0.7638 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.03456/1.138, allocations: 7.677 MB / 0.9952 GB, free: 3.375 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/1.138, allocations: 11.98 kB / 0.9953 GB, free: 3.363 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.138, allocations: 0 / 0.9953 GB, free: 3.363 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006504/1.139, allocations: 88.78 kB / 0.9953 GB, free: 3.273 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/1.149, allocations: 1.537 MB / 0.9968 GB, free: 1.734 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/1.152, allocations: 1.533 MB / 0.9983 GB, free: 80 kB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009391/1.161, allocations: 1.291 MB / 0.9996 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007145/1.162, allocations: 107.9 kB / 0.9997 GB, free: 14.68 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.001477/1.163, allocations: 432.1 kB / 1 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006179/1.164, allocations: 170.8 kB / 1 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03588/1.2, allocations: 8.475 MB / 1.009 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/1.2, allocations: 24.11 kB / 1.009 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.2, allocations: 3.938 kB / 1.009 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-05/1.2, allocations: 11.95 kB / 1.009 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006826/1.207, allocations: 5.227 MB / 1.014 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.207, allocations: 3.938 kB / 1.014 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009776/1.216, allocations: 1.51 MB / 1.015 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/1.217, allocations: 80.72 kB / 1.015 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005532/1.217, allocations: 87.88 kB / 1.015 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/1.219, allocations: 1.551 MB / 1.017 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.219, allocations: 0 / 1.017 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03529/1.255, allocations: 7.829 MB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/1.257, allocations: 0.6053 MB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005153/1.257, allocations: 59.94 kB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008863/1.266, allocations: 1.182 MB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003957/1.266, allocations: 165.6 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003692/1.267, allocations: 103.9 kB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00117/1.268, allocations: 0.7275 MB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/1.268, allocations: 0 / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002051/1.27, allocations: 0.7523 MB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.03697/1.307, allocations: 8.926 MB / 1.037 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.03476/1.342, allocations: 8.01 MB / 1.045 GB, free: 15.77 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.342, allocations: 3.938 kB / 1.045 GB, free: 15.76 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01762/1.359, allocations: 4.136 MB / 1.049 GB, free: 11.62 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/1.361, allocations: 387.6 kB / 1.049 GB, free: 11.25 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1183/1.48, allocations: 30.75 MB / 1.079 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.481, allocations: 1.43 MB / 1.08 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.004273/1.485, allocations: 0.7318 MB / 1.081 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002447/1.488, allocations: 0.913 MB / 1.082 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of SimCode: time 1.122e-06/1.488, allocations: 0 / 1.082 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4436/1.931, allocations: 52.63 MB / 1.133 GB, free: 298.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.77/18.7, allocations: 4 kB / 1.133 GB, free: 298.2 MB / 0.8575 GB " [Timeout remaining time 641] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.82062061399847] Failed to read output from testmodel.py, exit status != 0: 18.943396537000808 18.952765979 18.17743117 Calling exit ...