Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001366/0.001366, 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.00148/0.00148, allocations: 213.3 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.754 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.045/1.045, allocations: 149.9 MB / 463 MB, free: 10.38 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.002144/0.002144, allocations: 62.77 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1814, allocations: 89.17 MB / 0.7281 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006926/0.1883, allocations: 4.467 MB / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.544/0.7323, allocations: 132.7 MB / 0.8621 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009077/0.7333, allocations: 23.81 kB / 0.8621 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006582/0.7339, allocations: 200.8 kB / 0.8623 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.7357, allocations: 0.5848 MB / 0.8629 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.7379, allocations: 0.8783 MB / 0.8637 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.7395, allocations: 1.448 MB / 0.8652 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007429/0.7403, allocations: 399.5 kB / 0.8655 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007515/0.741, allocations: 0.5256 MB / 0.866 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000615/0.7417, allocations: 489.6 kB / 0.8665 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.7418, allocations: 124 kB / 0.8666 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009849/0.7428, allocations: 495.6 kB / 0.8671 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/0.7431, allocations: 307 kB / 0.8674 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.7436, allocations: 477.7 kB / 0.8679 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.7458, allocations: 1.73 MB / 0.8695 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7458, allocations: 4 kB / 0.8695 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7458, allocations: 0 / 0.8695 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.7458, allocations: 0 / 0.8695 GB, free: 4.543 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002774/0.7486, allocations: 1.456 MB / 0.871 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.7486, allocations: 8.031 kB / 0.871 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.7488, allocations: 131.5 kB / 0.8711 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.7505, allocations: 256.5 kB / 0.8713 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.7518, allocations: 0.7269 MB / 0.8721 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.7519, allocations: 66 kB / 0.8721 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.752, allocations: 80 kB / 0.8722 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.7539, allocations: 1.193 MB / 0.8734 GB, free: 476 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.7539, allocations: 19.66 kB / 0.8734 GB, free: 460 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/0.754, allocations: 36 kB / 0.8734 GB, free: 424 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.754, allocations: 23.94 kB / 0.8734 GB, free: 400 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.7559, allocations: 1.077 MB / 0.8745 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/0.7601, allocations: 2.253 MB / 0.8767 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.7617, allocations: 0.7858 MB / 0.8775 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/0.7623, allocations: 278.7 kB / 0.8777 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-05/0.7624, allocations: 28.62 kB / 0.8777 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.7634, allocations: 0.6196 MB / 0.8784 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=84): time 2.835e-06/0.7634, allocations: 0 / 0.8784 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.003565/0.767, allocations: 1.184 MB / 0.8795 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.7671, allocations: 192.9 kB / 0.8797 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.7681, allocations: 0.6723 MB / 0.8803 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.532e-05/0.7682, allocations: 41.7 kB / 0.8804 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.7685, allocations: 409.1 kB / 0.8808 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.7688, allocations: 285.6 kB / 0.8811 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.769, allocations: 150.6 kB / 0.8812 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.7693, allocations: 394.7 kB / 0.8816 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.7698, allocations: 257.9 kB / 0.8818 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007437/0.7706, allocations: 499.1 kB / 0.8823 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.7718, allocations: 0.6008 MB / 0.8829 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7718, allocations: 0 / 0.8829 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002078/0.7738, allocations: 0.8374 MB / 0.8837 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.7739, allocations: 9.406 kB / 0.8837 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.7739, allocations: 4.094 kB / 0.8837 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.7745, allocations: 80.72 kB / 0.8838 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/0.7752, allocations: 163.7 kB / 0.8839 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.7774, allocations: 1.514 MB / 0.8854 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.7782, allocations: 99.44 kB / 0.8855 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.691e-05/0.7783, allocations: 31.98 kB / 0.8855 GB, free: 3.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0004771/0.7787, allocations: 273.7 kB / 0.8858 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.7789, allocations: 91.19 kB / 0.8859 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/0.7816, allocations: 1.144 MB / 0.887 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.7816, allocations: 11.94 kB / 0.887 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.7816, allocations: 0 / 0.887 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.7816, allocations: 3.984 kB / 0.887 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.7852, allocations: 1.88 MB / 0.8889 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7853, allocations: 0 / 0.8889 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.7859, allocations: 151.8 kB / 0.889 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.7864, allocations: 72.78 kB / 0.8891 GB, free: 15.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.7864, allocations: 35.97 kB / 0.8891 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.7885, allocations: 1.539 MB / 0.8906 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7885, allocations: 0 / 0.8906 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.7908, allocations: 1.057 MB / 0.8916 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.7913, allocations: 211 kB / 0.8918 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.7914, allocations: 23.98 kB / 0.8919 GB, free: 12.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/0.7921, allocations: 68.78 kB / 0.8919 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.7922, allocations: 77.05 kB / 0.892 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/0.7923, allocations: 43.97 kB / 0.8921 GB, free: 12.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006866/0.793, allocations: 487 kB / 0.8925 GB, free: 12.24 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.793, allocations: 0 / 0.8925 GB, free: 12.24 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009328/0.7939, allocations: 331.1 kB / 0.8928 GB, free: 11.92 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004525/0.7985, allocations: 2.153 MB / 0.8949 GB, free: 9.988 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.8003, allocations: 0.8118 MB / 0.8957 GB, free: 9.164 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8003, allocations: 0 / 0.8957 GB, free: 9.164 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.8013, allocations: 0.5041 MB / 0.8962 GB, free: 8.648 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.8027, allocations: 312.7 kB / 0.8965 GB, free: 8.367 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.8141, allocations: 6.477 MB / 0.9028 GB, free: 1.742 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.8146, allocations: 460.6 kB / 0.9033 GB, free: 1.262 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008864/0.8155, allocations: 271.1 kB / 0.9035 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/0.8161, allocations: 423.2 kB / 0.9039 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of SimCode: time 1.062e-06/0.8161, allocations: 4 kB / 0.9039 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06799/0.8841, allocations: 24.19 MB / 0.9276 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.79, allocations: 6.516 kB / 0.9276 GB, free: 8.676 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.97059906227514] Failed to read output from testmodel.py, exit status != 0: 15.033992225769907 15.060551165 14.309947814 Calling exit ...