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.001821/0.001821, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002363/0.002363, allocations: 218.3 kB / 23 MB, free: 5.008 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9056/0.9056, allocations: 150 MB / 463.2 MB, free: 10.51 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.002159/0.002159, allocations: 62.5 kB / 0.6413 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1708, allocations: 89.18 MB / 0.7283 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007694/0.1785, allocations: 5.003 MB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5287/0.7072, allocations: 154.2 MB / 0.8838 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008334/0.708, allocations: 19.88 kB / 0.8838 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008098/0.7089, allocations: 201 kB / 0.884 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.7109, allocations: 0.5718 MB / 0.8845 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.7132, allocations: 0.8981 MB / 0.8854 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002003/0.7152, allocations: 1.449 MB / 0.8868 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008878/0.7161, allocations: 423.5 kB / 0.8872 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.717, allocations: 0.5217 MB / 0.8877 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007973/0.7178, allocations: 0.5329 MB / 0.8883 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.718, allocations: 120 kB / 0.8884 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009927/0.719, allocations: 0.5191 MB / 0.8889 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.7192, allocations: 303 kB / 0.8892 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005656/0.7198, allocations: 0.5869 MB / 0.8897 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.722, allocations: 1.718 MB / 0.8914 GB, free: 348 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.722, allocations: 0 / 0.8914 GB, free: 348 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.722, allocations: 0 / 0.8914 GB, free: 348 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.722, allocations: 0 / 0.8914 GB, free: 348 kB / 0.6544 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.002696/0.7247, allocations: 1.452 MB / 0.8928 GB, free: 14.84 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.7247, allocations: 12.03 kB / 0.8929 GB, free: 14.83 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.7249, allocations: 140.5 kB / 0.893 GB, free: 14.69 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.7266, allocations: 248 kB / 0.8932 GB, free: 14.45 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.7279, allocations: 0.7307 MB / 0.8939 GB, free: 13.69 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.7279, allocations: 69.98 kB / 0.894 GB, free: 13.62 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.7281, allocations: 84 kB / 0.8941 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.7296, allocations: 0.9417 MB / 0.895 GB, free: 12.56 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.7297, allocations: 3.938 kB / 0.895 GB, free: 12.55 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.792e-05/0.7297, allocations: 36 kB / 0.895 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.7297, allocations: 20 kB / 0.8951 GB, free: 12.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.7315, allocations: 1.128 MB / 0.8962 GB, free: 11.37 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.7356, allocations: 2.746 MB / 0.8988 GB, free: 8.496 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.7371, allocations: 0.7767 MB / 0.8996 GB, free: 7.715 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.7377, allocations: 288.6 kB / 0.8999 GB, free: 7.43 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.819e-05/0.7378, allocations: 32.67 kB / 0.8999 GB, free: 7.398 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008945/0.7387, allocations: 0.5194 MB / 0.9004 GB, free: 6.867 MB / 0.67 GB Notification: Performance of pre-optimization done (n=84): time 2.104e-06/0.7387, allocations: 4 kB / 0.9004 GB, free: 6.863 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.003312/0.742, allocations: 1.18 MB / 0.9016 GB, free: 5.672 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.7421, allocations: 188.9 kB / 0.9018 GB, free: 5.445 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008803/0.743, allocations: 0.6684 MB / 0.9024 GB, free: 4.773 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/0.7431, allocations: 41.7 kB / 0.9024 GB, free: 4.727 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.7434, allocations: 417.1 kB / 0.9028 GB, free: 4.312 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.7437, allocations: 277.6 kB / 0.9031 GB, free: 4.039 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.7439, allocations: 158.6 kB / 0.9033 GB, free: 3.879 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.7441, allocations: 394.7 kB / 0.9036 GB, free: 3.484 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.7447, allocations: 257.8 kB / 0.9039 GB, free: 3.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.7453, allocations: 366.6 kB / 0.9042 GB, free: 2.848 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.7464, allocations: 0.6047 MB / 0.9048 GB, free: 2.234 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7464, allocations: 0 / 0.9048 GB, free: 2.234 MB / 0.67 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001948/0.7484, allocations: 0.8335 MB / 0.9056 GB, free: 1.391 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.7484, allocations: 8.094 kB / 0.9056 GB, free: 1.383 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7484, allocations: 0 / 0.9056 GB, free: 1.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/0.749, allocations: 92.7 kB / 0.9057 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.7497, allocations: 155.8 kB / 0.9059 GB, free: 1.137 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.7519, allocations: 1.529 MB / 0.9074 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.7526, allocations: 92.88 kB / 0.9075 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.7526, allocations: 31.97 kB / 0.9075 GB, free: 15.37 MB / 0.6856 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.0004618/0.7531, allocations: 271.6 kB / 0.9078 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.7533, allocations: 99.36 kB / 0.9078 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.7558, allocations: 1.137 MB / 0.909 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.7558, allocations: 11.94 kB / 0.909 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.7558, allocations: 64 / 0.909 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.7558, allocations: 15.97 kB / 0.909 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/0.7592, allocations: 2.001 MB / 0.9109 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.7592, allocations: 0 / 0.9109 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/0.7598, allocations: 147.8 kB / 0.9111 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004352/0.7602, allocations: 76.78 kB / 0.9112 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.7603, allocations: 35.91 kB / 0.9112 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.7622, allocations: 1.563 MB / 0.9127 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.7622, allocations: 3.984 kB / 0.9127 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.7643, allocations: 1.045 MB / 0.9137 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.7647, allocations: 211 kB / 0.9139 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.7649, allocations: 23.94 kB / 0.914 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.7655, allocations: 71.92 kB / 0.914 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.7657, allocations: 80.84 kB / 0.9141 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-05/0.7658, allocations: 39.97 kB / 0.9141 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006287/0.7664, allocations: 483 kB / 0.9146 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.7664, allocations: 0 / 0.9146 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008875/0.7673, allocations: 331.2 kB / 0.9149 GB, free: 7.547 MB / 0.6856 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.004195/0.7715, allocations: 2.109 MB / 0.917 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.7732, allocations: 0.8079 MB / 0.9178 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7732, allocations: 0 / 0.9178 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009403/0.7741, allocations: 0.504 MB / 0.9183 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.7753, allocations: 312.6 kB / 0.9186 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.7859, allocations: 6.478 MB / 0.9249 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/0.7866, allocations: 1.04 MB / 0.9259 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007997/0.7874, allocations: 267 kB / 0.9262 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/0.788, allocations: 423.2 kB / 0.9266 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of SimCode: time 6.81e-07/0.788, allocations: 0 / 0.9266 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/0.8482, allocations: 23.2 MB / 0.9492 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.78, allocations: 8.484 kB / 0.9492 GB, free: 4.648 MB / 0.7169 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.64044675999321] Failed to read output from testmodel.py, exit status != 0: 15.007534615928307 15.029894916 14.303728307 Calling exit ...