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.001319/0.001319, allocations: 101.9 kB / 20.48 MB, free: 1.379 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.001556/0.001556, allocations: 214.8 kB / 23.78 MB, free: 4.547 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.01/1.01, allocations: 150 MB / 464 MB, free: 10.24 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",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.001966/0.001966, allocations: 74.09 kB / 0.6419 GB, free: 9.965 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1914, allocations: 89.17 MB / 0.729 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008004/0.1994, allocations: 5.33 MB / 0.7342 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5623/0.7617, allocations: 132.8 MB / 0.8639 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.763, allocations: 23.81 kB / 0.8639 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009867/0.764, allocations: 243.9 kB / 0.8642 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.7668, allocations: 0.6535 MB / 0.8648 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.7692, allocations: 0.9011 MB / 0.8657 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002473/0.7717, allocations: 1.666 MB / 0.8673 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.773, allocations: 0.6011 MB / 0.8679 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.774, allocations: 0.6423 MB / 0.8685 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008203/0.7749, allocations: 0.6651 MB / 0.8692 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.7751, allocations: 156 kB / 0.8693 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.7761, allocations: 0.5413 MB / 0.8699 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.7765, allocations: 382.8 kB / 0.8702 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006037/0.7771, allocations: 0.6065 MB / 0.8708 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.7796, allocations: 2.092 MB / 0.8729 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7796, allocations: 11.5 kB / 0.8729 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7796, allocations: 0 / 0.8729 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.129e-05/0.7796, allocations: 0 / 0.8729 GB, free: 1.965 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.003327/0.783, allocations: 1.725 MB / 0.8746 GB, free: 208 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.783, allocations: 11.97 kB / 0.8746 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.871e-05/0.7831, allocations: 30.59 kB / 0.8746 GB, free: 164 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000247/0.7833, allocations: 181.9 kB / 0.8748 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.7849, allocations: 267.8 kB / 0.875 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.7863, allocations: 0.8203 MB / 0.8758 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.31e-05/0.7864, allocations: 86.41 kB / 0.8759 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.7866, allocations: 116 kB / 0.876 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.7889, allocations: 1.457 MB / 0.8774 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.7889, allocations: 4 kB / 0.8774 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.789, allocations: 52 kB / 0.8775 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.7891, allocations: 28 kB / 0.8775 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.7912, allocations: 1.281 MB / 0.8788 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004962/0.7962, allocations: 2.789 MB / 0.8815 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.7978, allocations: 0.8106 MB / 0.8823 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/0.7984, allocations: 302.8 kB / 0.8826 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.76e-05/0.7984, allocations: 24.56 kB / 0.8826 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.7994, allocations: 0.6241 MB / 0.8832 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=87): time 2.765e-06/0.7994, allocations: 0 / 0.8832 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87): time 0.003572/0.803, allocations: 1.22 MB / 0.8844 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.8031, allocations: 188.9 kB / 0.8846 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.8043, allocations: 0.7628 MB / 0.8853 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.8044, allocations: 41.7 kB / 0.8854 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/0.8049, allocations: 0.532 MB / 0.8859 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.8052, allocations: 297.5 kB / 0.8862 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.8055, allocations: 158.6 kB / 0.8863 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.8056, allocations: 338 kB / 0.8866 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000561/0.8062, allocations: 273.8 kB / 0.8869 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007461/0.8069, allocations: 0.4996 MB / 0.8874 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.8081, allocations: 0.6394 MB / 0.888 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8081, allocations: 0 / 0.888 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002214/0.8103, allocations: 0.8842 MB / 0.8889 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.8103, allocations: 8 kB / 0.8889 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.8104, allocations: 4.812 kB / 0.8889 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006155/0.811, allocations: 76.88 kB / 0.889 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/0.8117, allocations: 167.8 kB / 0.8891 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.814, allocations: 1.518 MB / 0.8906 GB, free: 15.19 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007899/0.8148, allocations: 99.48 kB / 0.8907 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/0.8148, allocations: 35.97 kB / 0.8907 GB, free: 15.05 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.0005532/0.8154, allocations: 295.8 kB / 0.891 GB, free: 14.76 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.8156, allocations: 103.9 kB / 0.8911 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.8182, allocations: 1.124 MB / 0.8922 GB, free: 13.52 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.8182, allocations: 11.94 kB / 0.8922 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.8182, allocations: 4 kB / 0.8922 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.8182, allocations: 3.984 kB / 0.8922 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.8195, allocations: 0.8989 MB / 0.8931 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.8195, allocations: 0 / 0.8931 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006655/0.8202, allocations: 159.7 kB / 0.8933 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/0.8207, allocations: 76.72 kB / 0.8933 GB, free: 12.33 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.66e-05/0.8207, allocations: 27.98 kB / 0.8934 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.8228, allocations: 1.547 MB / 0.8949 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8229, allocations: 0 / 0.8949 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.825, allocations: 0.9985 MB / 0.8959 GB, free: 9.609 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.8255, allocations: 215 kB / 0.8961 GB, free: 9.398 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.8257, allocations: 19.95 kB / 0.8961 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007058/0.8264, allocations: 70.42 kB / 0.8961 GB, free: 9.312 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.8266, allocations: 80.8 kB / 0.8962 GB, free: 9.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/0.8266, allocations: 39.97 kB / 0.8963 GB, free: 9.191 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000804/0.8275, allocations: 0.5303 MB / 0.8968 GB, free: 8.668 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8275, allocations: 0 / 0.8968 GB, free: 8.668 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001059/0.8285, allocations: 390.9 kB / 0.8972 GB, free: 8.285 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.004561/0.8331, allocations: 2.087 MB / 0.8992 GB, free: 6.422 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.8349, allocations: 0.8272 MB / 0.9 GB, free: 5.582 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.8349, allocations: 0 / 0.9 GB, free: 5.582 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009992/0.8359, allocations: 0.5121 MB / 0.9005 GB, free: 5.062 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.8373, allocations: 331.3 kB / 0.9008 GB, free: 4.758 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.8505, allocations: 7.154 MB / 0.9078 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.8511, allocations: 0.5224 MB / 0.9083 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009512/0.852, allocations: 275.8 kB / 0.9086 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007591/0.8528, allocations: 495.2 kB / 0.909 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of SimCode: time 1.202e-06/0.8528, allocations: 3.938 kB / 0.909 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06706/0.9199, allocations: 26 MB / 0.9344 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.78, allocations: 8 kB / 0.9344 GB, free: 2.48 MB / 0.7012 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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: 19.957430985057727] Failed to read output from testmodel.py, exit status != 0: 16.06979107100051 16.098993993 15.313488281 Calling exit ...