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.001367/0.001367, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001489/0.001489, allocations: 216.8 kB / 22.99 MB, free: 4.977 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 1.031/1.031, allocations: 149.9 MB / 463 MB, free: 10.36 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.002184/0.002184, allocations: 66.91 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1726, allocations: 89.18 MB / 0.7281 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01058/0.1831, allocations: 7.343 MB / 0.7353 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5773/0.7604, allocations: 133.9 MB / 0.8661 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.7625, allocations: 31.75 kB / 0.8661 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.7636, allocations: 331 kB / 0.8664 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.7664, allocations: 0.8697 MB / 0.8673 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.7694, allocations: 1.404 MB / 0.8686 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003434/0.7729, allocations: 3.003 MB / 0.8716 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.7744, allocations: 0.9696 MB / 0.8725 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.7761, allocations: 1.258 MB / 0.8738 GB, free: 120 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.7777, allocations: 1.206 MB / 0.8749 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004849/0.7782, allocations: 328 kB / 0.8752 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.7796, allocations: 0.7104 MB / 0.8759 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006502/0.7803, allocations: 0.705 MB / 0.8766 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.7814, allocations: 1.097 MB / 0.8777 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004092/0.7855, allocations: 3.746 MB / 0.8814 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7855, allocations: 0 / 0.8814 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7855, allocations: 0 / 0.8814 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.494e-05/0.7855, allocations: 0 / 0.8814 GB, free: 8.312 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005992/0.7915, allocations: 2.857 MB / 0.8841 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7915, allocations: 12.03 kB / 0.8842 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003869/0.7919, allocations: 312.9 kB / 0.8845 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04542/0.8374, allocations: 6.906 MB / 0.8912 GB, free: 14.15 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/0.841, allocations: 1.368 MB / 0.8925 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.8412, allocations: 168.5 kB / 0.8927 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007566/0.8419, allocations: 220 kB / 0.8929 GB, free: 12.37 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02453/0.8665, allocations: 6.191 MB / 0.899 GB, free: 6.023 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.24e-05/0.8665, allocations: 0.5625 kB / 0.899 GB, free: 6.023 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008648/0.8674, allocations: 92 kB / 0.899 GB, free: 5.934 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.394e-05/0.8675, allocations: 60 kB / 0.8991 GB, free: 5.875 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06455/0.932, allocations: 9.131 MB / 0.908 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0359/0.9679, allocations: 13.69 MB / 0.9214 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0224/0.9903, allocations: 5.219 MB / 0.9265 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01759/1.008, allocations: 3.853 MB / 0.9302 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/1.008, allocations: 57.94 kB / 0.9303 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01861/1.027, allocations: 4.567 MB / 0.9348 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 5.641e-06/1.027, allocations: 0 / 0.9348 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.05281/1.08, allocations: 11.51 MB / 0.946 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/1.08, allocations: 205.9 kB / 0.9462 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/1.082, allocations: 0.9736 MB / 0.9471 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008123/1.082, allocations: 65.7 kB / 0.9472 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000875/1.083, allocations: 0.7679 MB / 0.948 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001468/1.085, allocations: 0.7125 MB / 0.9487 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/1.087, allocations: 399.2 kB / 0.949 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.087, allocations: 304.1 kB / 0.9493 GB, free: 308 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01706/1.104, allocations: 3.735 MB / 0.953 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0174/1.121, allocations: 4.06 MB / 0.9569 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03143/1.153, allocations: 6.751 MB / 0.9635 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/1.153, allocations: 0 / 0.9635 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.03781/1.191, allocations: 7.68 MB / 0.971 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/1.191, allocations: 7.938 kB / 0.971 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.191, allocations: 0 / 0.971 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/1.191, allocations: 92.83 kB / 0.9711 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/1.201, allocations: 1.537 MB / 0.9726 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/1.204, allocations: 1.527 MB / 0.9741 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00917/1.213, allocations: 1.295 MB / 0.9754 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000759/1.214, allocations: 103.9 kB / 0.9755 GB, free: 5.285 MB / 0.7481 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.001931/1.216, allocations: 436 kB / 0.9759 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008511/1.216, allocations: 163 kB / 0.9761 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0377/1.254, allocations: 8.478 MB / 0.9843 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-05/1.254, allocations: 27.94 kB / 0.9844 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.254, allocations: 5.25 kB / 0.9844 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.407e-05/1.254, allocations: 11.95 kB / 0.9844 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007584/1.262, allocations: 4.553 MB / 0.9888 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/1.262, allocations: 0 / 0.9888 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009944/1.272, allocations: 1.506 MB / 0.9903 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005231/1.272, allocations: 76.72 kB / 0.9904 GB, free: 5.035 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007572/1.273, allocations: 87.88 kB / 0.9905 GB, free: 4.949 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/1.275, allocations: 1.552 MB / 0.992 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.275, allocations: 4.062 kB / 0.992 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03622/1.312, allocations: 7.821 MB / 0.9996 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002443/1.314, allocations: 0.6014 MB / 1 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.315, allocations: 67.81 kB / 1 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009056/1.324, allocations: 1.182 MB / 1.001 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006337/1.325, allocations: 161.6 kB / 1.002 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007982/1.326, allocations: 107.9 kB / 1.002 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001847/1.327, allocations: 0.7159 MB / 1.002 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/1.327, allocations: 0 / 1.002 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004035/1.331, allocations: 0.7562 MB / 1.003 GB, free: 7.836 MB / 0.7794 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.04011/1.372, allocations: 8.95 MB / 1.012 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.03537/1.407, allocations: 8.018 MB / 1.02 GB, free: 7.07 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.407, allocations: 0 / 1.02 GB, free: 7.07 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.02471/1.432, allocations: 4.128 MB / 1.024 GB, free: 2.93 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004071/1.436, allocations: 395.8 kB / 1.024 GB, free: 2.57 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1247/1.56, allocations: 30.75 MB / 1.054 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/1.562, allocations: 0.8643 MB / 1.055 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005173/1.567, allocations: 0.728 MB / 1.056 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003006/1.57, allocations: 0.9052 MB / 1.057 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of SimCode: time 1.553e-06/1.57, allocations: 0 / 1.057 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4729/2.043, allocations: 54.34 MB / 1.11 GB, free: 306.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.37/17.42, allocations: 10.8 kB / 1.11 GB, free: 306.8 MB / 0.8575 GB " [Timeout remaining time 642] (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: 21.628348760306835] Failed to read output from testmodel.py, exit status != 0: 17.668767592404038 17.692032061 16.90158354 Calling exit ...