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.001702/0.001702, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.00214/0.00214, allocations: 222.2 kB / 23 MB, free: 4.969 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.498/1.498, 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.003/1.003, allocations: 149.9 MB / 463 MB, free: 10.37 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.002068/0.002068, allocations: 68.81 kB / 0.641 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1882, allocations: 89.17 MB / 0.7281 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007824/0.196, allocations: 5.337 MB / 0.7333 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5306/0.7266, allocations: 132.9 MB / 0.8631 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.7278, allocations: 35.69 kB / 0.8632 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.7288, allocations: 237.7 kB / 0.8634 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.7316, allocations: 0.6531 MB / 0.864 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.7342, allocations: 0.8933 MB / 0.8649 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002538/0.7368, allocations: 1.674 MB / 0.8665 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.7381, allocations: 0.5737 MB / 0.8671 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.7392, allocations: 0.6423 MB / 0.8677 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008117/0.74, allocations: 0.5831 MB / 0.8683 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.7402, allocations: 158.2 kB / 0.8684 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.7414, allocations: 0.5275 MB / 0.869 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003927/0.7418, allocations: 378.8 kB / 0.8693 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007345/0.7425, allocations: 0.6027 MB / 0.8699 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00299/0.7455, allocations: 2.099 MB / 0.872 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7455, allocations: 0 / 0.872 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7455, allocations: 0 / 0.872 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.354e-05/0.7455, allocations: 4 kB / 0.872 GB, free: 2.004 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.003205/0.7487, allocations: 1.717 MB / 0.8736 GB, free: 256 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.7488, allocations: 12.03 kB / 0.8737 GB, free: 244 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/0.749, allocations: 182.9 kB / 0.8738 GB, free: 52 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.7506, allocations: 271.8 kB / 0.8741 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.7522, allocations: 0.8166 MB / 0.8749 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.55e-05/0.7523, allocations: 86.41 kB / 0.875 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.7525, allocations: 120 kB / 0.8751 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.7549, allocations: 1.451 MB / 0.8765 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.7549, allocations: 4 kB / 0.8765 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.755, allocations: 52 kB / 0.8766 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.755, allocations: 32 kB / 0.8766 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.7572, allocations: 1.238 MB / 0.8778 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005463/0.7627, allocations: 2.789 MB / 0.8805 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.7643, allocations: 0.8152 MB / 0.8813 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/0.765, allocations: 304.9 kB / 0.8816 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.284e-05/0.765, allocations: 24.64 kB / 0.8816 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.7661, allocations: 0.6203 MB / 0.8822 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=87): time 3.266e-06/0.7661, allocations: 0 / 0.8822 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87): time 0.003651/0.7698, allocations: 1.215 MB / 0.8834 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.7699, allocations: 196.9 kB / 0.8836 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.771, allocations: 0.755 MB / 0.8843 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/0.7711, allocations: 41.7 kB / 0.8844 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.7716, allocations: 0.5397 MB / 0.8849 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.7719, allocations: 297.5 kB / 0.8852 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.7721, allocations: 162.6 kB / 0.8853 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.7723, allocations: 341.9 kB / 0.8857 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/0.7729, allocations: 269.9 kB / 0.8859 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007986/0.7737, allocations: 0.4991 MB / 0.8864 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.775, allocations: 0.6359 MB / 0.887 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.775, allocations: 4 kB / 0.887 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002191/0.7772, allocations: 0.8803 MB / 0.8879 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.7772, allocations: 4 kB / 0.8879 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.7772, allocations: 0.625 kB / 0.8879 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006273/0.7778, allocations: 84.8 kB / 0.888 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/0.7786, allocations: 167.8 kB / 0.8881 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.7809, allocations: 1.523 MB / 0.8896 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007631/0.7816, allocations: 95.42 kB / 0.8897 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.7817, allocations: 36.05 kB / 0.8898 GB, free: 15.17 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.0005789/0.7823, allocations: 301.5 kB / 0.89 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.7825, allocations: 99.34 kB / 0.8901 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/0.7852, allocations: 1.127 MB / 0.8912 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.7853, allocations: 19.92 kB / 0.8913 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.7853, allocations: 0 / 0.8913 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.7853, allocations: 3.984 kB / 0.8913 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.7868, allocations: 0.8951 MB / 0.8921 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.7868, allocations: 0 / 0.8921 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006514/0.7874, allocations: 155.8 kB / 0.8923 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004599/0.7879, allocations: 72.78 kB / 0.8924 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.157e-05/0.7879, allocations: 27.98 kB / 0.8924 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.79, allocations: 1.547 MB / 0.8939 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.79, allocations: 0 / 0.8939 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.7923, allocations: 0.9985 MB / 0.8949 GB, free: 9.723 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/0.7928, allocations: 219 kB / 0.8951 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.793, allocations: 20 kB / 0.8951 GB, free: 9.488 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006433/0.7936, allocations: 66.27 kB / 0.8952 GB, free: 9.426 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.7938, allocations: 80.8 kB / 0.8952 GB, free: 9.344 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/0.7939, allocations: 39.73 kB / 0.8953 GB, free: 9.309 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007812/0.7947, allocations: 0.5341 MB / 0.8958 GB, free: 8.781 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7947, allocations: 0 / 0.8958 GB, free: 8.781 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001041/0.7957, allocations: 394.8 kB / 0.8962 GB, free: 8.395 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.004672/0.8004, allocations: 2.089 MB / 0.8982 GB, free: 6.531 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002034/0.8024, allocations: 0.8234 MB / 0.899 GB, free: 5.695 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.8024, allocations: 4 kB / 0.899 GB, free: 5.691 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.8035, allocations: 0.5082 MB / 0.8995 GB, free: 5.176 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.805, allocations: 326.9 kB / 0.8998 GB, free: 4.883 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.8185, allocations: 7.147 MB / 0.9068 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/0.8191, allocations: 0.5262 MB / 0.9073 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001115/0.8202, allocations: 279.7 kB / 0.9076 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000842/0.8211, allocations: 495.2 kB / 0.9081 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of SimCode: time 2.254e-06/0.8211, allocations: 0 / 0.9081 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07578/0.8968, allocations: 26.22 MB / 0.9337 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/15.08, allocations: 9.297 kB / 0.9337 GB, free: 2.344 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 & /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.156460628379136] Failed to read output from testmodel.py, exit status != 0: 15.322364714927971 15.349412819 14.598734608 Calling exit ...