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.001781/0.001781, 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.002302/0.002302, allocations: 209.8 kB / 22.99 MB, free: 4.605 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9978/0.9978, allocations: 149.9 MB / 463 MB, free: 10.34 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.00212/0.00212, allocations: 77.89 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1734, allocations: 89.17 MB / 0.7281 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01102/0.1844, allocations: 7.347 MB / 0.7353 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5321/0.7165, allocations: 133.9 MB / 0.8661 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.718, allocations: 27.81 kB / 0.8661 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009213/0.7189, allocations: 331.3 kB / 0.8664 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.7216, allocations: 0.871 MB / 0.8673 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003381/0.7249, allocations: 1.401 MB / 0.8686 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004361/0.7293, allocations: 3.018 MB / 0.8716 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.7312, allocations: 0.9579 MB / 0.8725 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.7336, allocations: 1.258 MB / 0.8737 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.7354, allocations: 1.213 MB / 0.8749 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005095/0.7359, allocations: 331.9 kB / 0.8753 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.7375, allocations: 0.7028 MB / 0.8759 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006813/0.7382, allocations: 0.701 MB / 0.8766 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.7395, allocations: 1.102 MB / 0.8777 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004484/0.7439, allocations: 3.75 MB / 0.8814 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7439, allocations: 0 / 0.8814 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.744, allocations: 0 / 0.8814 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.824e-05/0.744, allocations: 0 / 0.8814 GB, free: 8.34 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.00661/0.7506, allocations: 2.849 MB / 0.8841 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.7507, allocations: 16.02 kB / 0.8842 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004198/0.7511, allocations: 308.9 kB / 0.8845 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04589/0.797, allocations: 6.914 MB / 0.8912 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/0.801, allocations: 1.364 MB / 0.8925 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.8012, allocations: 168.5 kB / 0.8927 GB, free: 12.62 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006514/0.8019, allocations: 224 kB / 0.8929 GB, free: 12.4 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02278/0.8246, allocations: 6.187 MB / 0.899 GB, free: 6.055 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.675e-05/0.8247, allocations: 3.938 kB / 0.899 GB, free: 6.051 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003588/0.825, allocations: 92 kB / 0.899 GB, free: 5.961 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.171e-05/0.8251, allocations: 56 kB / 0.8991 GB, free: 5.906 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03866/0.8638, allocations: 9.132 MB / 0.908 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03678/0.9005, allocations: 13.69 MB / 0.9214 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02252/0.9231, allocations: 5.208 MB / 0.9265 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01765/0.9407, allocations: 3.85 MB / 0.9302 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.941, allocations: 61.92 kB / 0.9303 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01904/0.96, allocations: 4.577 MB / 0.9348 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 5.48e-06/0.96, allocations: 112 / 0.9348 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.0551/1.015, allocations: 11.51 MB / 0.946 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/1.015, allocations: 205.9 kB / 0.9462 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/1.017, allocations: 0.9814 MB / 0.9471 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007558/1.018, allocations: 61.7 kB / 0.9472 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008391/1.019, allocations: 0.7718 MB / 0.948 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001383/1.02, allocations: 0.7122 MB / 0.9487 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001685/1.022, allocations: 399.2 kB / 0.949 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.022, allocations: 301.1 kB / 0.9493 GB, free: 344 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01756/1.04, allocations: 3.739 MB / 0.953 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01749/1.057, allocations: 4.057 MB / 0.9569 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03181/1.089, allocations: 6.747 MB / 0.9635 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-05/1.089, allocations: 0 / 0.9635 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.03631/1.125, allocations: 7.687 MB / 0.971 GB, free: 10 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/1.125, allocations: 8 kB / 0.971 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/1.125, allocations: 0 / 0.971 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007155/1.126, allocations: 88.83 kB / 0.9711 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01044/1.136, allocations: 1.545 MB / 0.9726 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/1.139, allocations: 1.511 MB / 0.9741 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009253/1.148, allocations: 1.295 MB / 0.9754 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008665/1.149, allocations: 104 kB / 0.9755 GB, free: 5.324 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.002066/1.151, allocations: 441.2 kB / 0.9759 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009237/1.152, allocations: 167 kB / 0.9761 GB, free: 4.719 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03888/1.191, allocations: 8.479 MB / 0.9843 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/1.191, allocations: 24 kB / 0.9844 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.191, allocations: 0 / 0.9844 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.929e-05/1.191, allocations: 7.969 kB / 0.9844 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/1.198, allocations: 4.557 MB / 0.9888 GB, free: 6.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/1.198, allocations: 12.06 kB / 0.9888 GB, free: 6.648 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009689/1.208, allocations: 1.502 MB / 0.9903 GB, free: 5.145 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005534/1.208, allocations: 80.72 kB / 0.9904 GB, free: 5.062 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007435/1.209, allocations: 79.89 kB / 0.9904 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/1.211, allocations: 1.555 MB / 0.992 GB, free: 3.312 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.211, allocations: 0 / 0.992 GB, free: 3.312 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0369/1.248, allocations: 7.817 MB / 0.9996 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002293/1.251, allocations: 0.6014 MB / 1 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000954/1.252, allocations: 63.77 kB / 1 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00926/1.261, allocations: 1.194 MB / 1.001 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007083/1.261, allocations: 159.4 kB / 1.002 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007896/1.262, allocations: 103.9 kB / 1.002 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001676/1.264, allocations: 0.7159 MB / 1.002 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/1.264, allocations: 0 / 1.002 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003404/1.267, allocations: 0.7562 MB / 1.003 GB, free: 7.871 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.03938/1.307, allocations: 8.952 MB / 1.012 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0361/1.343, allocations: 8.014 MB / 1.02 GB, free: 7.105 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.343, allocations: 0 / 1.02 GB, free: 7.105 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01844/1.361, allocations: 4.14 MB / 1.024 GB, free: 2.953 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/1.364, allocations: 404.5 kB / 1.024 GB, free: 2.582 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1204/1.485, allocations: 30.74 MB / 1.054 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.486, allocations: 0.8644 MB / 1.055 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005181/1.491, allocations: 0.7202 MB / 1.056 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002901/1.494, allocations: 0.9129 MB / 1.057 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of SimCode: time 8.82e-07/1.494, allocations: 0 / 1.057 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4605/1.955, allocations: 54.34 MB / 1.11 GB, free: 306.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/17.55, allocations: 4.594 kB / 1.11 GB, free: 306.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.71319988789037] Failed to read output from testmodel.py, exit status != 0: 17.803522636648268 17.829783658 17.080815203 Calling exit ...