Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001376/0.001376, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001452/0.001452, allocations: 212.1 kB / 22.99 MB, free: 4.609 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.566/1.566, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.976/0.976, allocations: 149.9 MB / 463.1 MB, free: 10.4 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.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.002067/0.002067, allocations: 69.05 kB / 0.641 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1965, allocations: 89.17 MB / 0.7281 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008713/0.2052, allocations: 5.338 MB / 0.7333 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5268/0.732, allocations: 132.9 MB / 0.8631 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.7334, allocations: 27.75 kB / 0.8632 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.7345, allocations: 244.2 kB / 0.8634 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.7375, allocations: 0.6504 MB / 0.864 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.7401, allocations: 0.8889 MB / 0.8649 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00247/0.7425, allocations: 1.666 MB / 0.8665 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.7438, allocations: 0.5777 MB / 0.8671 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.7449, allocations: 0.6423 MB / 0.8677 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.746, allocations: 0.5869 MB / 0.8683 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003752/0.7464, allocations: 160 kB / 0.8684 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.7477, allocations: 0.5239 MB / 0.869 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004557/0.7482, allocations: 382.7 kB / 0.8693 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006992/0.7489, allocations: 0.5987 MB / 0.8699 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.7517, allocations: 2.103 MB / 0.872 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7517, allocations: 0 / 0.872 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7517, allocations: 0 / 0.872 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.548e-05/0.7517, allocations: 0 / 0.872 GB, free: 2.055 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003225/0.7549, allocations: 1.721 MB / 0.8736 GB, free: 304 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.755, allocations: 12.03 kB / 0.8737 GB, free: 292 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002016/0.7552, allocations: 177.8 kB / 0.8738 GB, free: 104 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.7567, allocations: 271.8 kB / 0.8741 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.7583, allocations: 0.8206 MB / 0.8749 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/0.7583, allocations: 86.41 kB / 0.875 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.7585, allocations: 116 kB / 0.8751 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.7607, allocations: 1.457 MB / 0.8765 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.7607, allocations: 0 / 0.8765 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.7608, allocations: 52.48 kB / 0.8765 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.7608, allocations: 28 kB / 0.8766 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.763, allocations: 1.244 MB / 0.8778 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005071/0.768, allocations: 2.799 MB / 0.8805 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.7697, allocations: 0.8151 MB / 0.8813 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/0.7702, allocations: 290.7 kB / 0.8816 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.152e-05/0.7703, allocations: 24.64 kB / 0.8816 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.7713, allocations: 0.6243 MB / 0.8822 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=87): time 2.955e-06/0.7713, allocations: 3.938 kB / 0.8822 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87): time 0.003503/0.7748, allocations: 1.224 MB / 0.8834 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.7749, allocations: 188.9 kB / 0.8836 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.7759, allocations: 0.7589 MB / 0.8843 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.918e-05/0.776, allocations: 41.7 kB / 0.8844 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/0.7765, allocations: 0.5367 MB / 0.8849 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.7767, allocations: 293.5 kB / 0.8852 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.777, allocations: 154.6 kB / 0.8853 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.7772, allocations: 337.9 kB / 0.8857 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006055/0.7778, allocations: 277.8 kB / 0.8859 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007417/0.7785, allocations: 0.5068 MB / 0.8864 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.7797, allocations: 0.632 MB / 0.887 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7797, allocations: 0 / 0.887 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002079/0.7818, allocations: 0.8833 MB / 0.8879 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.7818, allocations: 12.09 kB / 0.8879 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.7818, allocations: 0 / 0.8879 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006361/0.7824, allocations: 84.66 kB / 0.888 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.7831, allocations: 171.8 kB / 0.8882 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.7856, allocations: 1.512 MB / 0.8896 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.7864, allocations: 93.75 kB / 0.8897 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.7865, allocations: 35.97 kB / 0.8898 GB, free: 15.22 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0006016/0.7871, allocations: 301.7 kB / 0.89 GB, free: 14.91 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.7873, allocations: 103.3 kB / 0.8901 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.7899, allocations: 1.13 MB / 0.8912 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.7899, allocations: 11.94 kB / 0.8913 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.79, allocations: 4 kB / 0.8913 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.79, allocations: 3.984 kB / 0.8913 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.7914, allocations: 0.8951 MB / 0.8921 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.7914, allocations: 0 / 0.8921 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006153/0.792, allocations: 155.8 kB / 0.8923 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004247/0.7924, allocations: 72.78 kB / 0.8924 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.7925, allocations: 23.98 kB / 0.8924 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.7945, allocations: 1.564 MB / 0.8939 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7945, allocations: 0 / 0.8939 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.7966, allocations: 0.9869 MB / 0.8949 GB, free: 9.773 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005347/0.7971, allocations: 215 kB / 0.8951 GB, free: 9.562 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.7972, allocations: 20 kB / 0.8951 GB, free: 9.543 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/0.7979, allocations: 71.86 kB / 0.8952 GB, free: 9.473 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.7981, allocations: 80.8 kB / 0.8952 GB, free: 9.391 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/0.7982, allocations: 43.78 kB / 0.8953 GB, free: 9.352 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007511/0.7989, allocations: 0.5342 MB / 0.8958 GB, free: 8.824 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.7989, allocations: 0 / 0.8958 GB, free: 8.824 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001078/0.8, allocations: 390.8 kB / 0.8962 GB, free: 8.441 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00498/0.805, allocations: 2.087 MB / 0.8982 GB, free: 6.578 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002138/0.8071, allocations: 0.8273 MB / 0.899 GB, free: 5.738 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8071, allocations: 0 / 0.899 GB, free: 5.738 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.8082, allocations: 0.5121 MB / 0.8995 GB, free: 5.219 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.8097, allocations: 324.4 kB / 0.8998 GB, free: 4.922 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.8245, allocations: 7.14 MB / 0.9068 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/0.8252, allocations: 0.5224 MB / 0.9073 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001046/0.8263, allocations: 283.6 kB / 0.9076 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008185/0.8271, allocations: 499.2 kB / 0.9081 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of SimCode: time 1.382e-06/0.8271, allocations: 0 / 0.9081 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07711/0.9042, allocations: 26.22 MB / 0.9337 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.74, allocations: 6 kB / 0.9337 GB, free: 2.387 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_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_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.907007827889174] Failed to read output from testmodel.py, exit status != 0: 14.981612372212112 14.998587027 14.243245972 Calling exit ...