Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.00133/0.00133, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001476/0.001476, allocations: 215.5 kB / 22.99 MB, free: 4.977 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9681/0.9681, allocations: 149.9 MB / 463.1 MB, free: 10.31 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.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.003232/0.003232, allocations: 68.34 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2021, allocations: 89.17 MB / 0.7281 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007467/0.2096, allocations: 4.516 MB / 0.7326 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5748/0.7844, allocations: 132.9 MB / 0.8623 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008216/0.7852, allocations: 23.81 kB / 0.8623 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.7859, allocations: 201.1 kB / 0.8625 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.7877, allocations: 0.5935 MB / 0.8631 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.7898, allocations: 0.8669 MB / 0.8639 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002049/0.7919, allocations: 1.476 MB / 0.8654 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/0.7927, allocations: 407.5 kB / 0.8658 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.7938, allocations: 0.5295 MB / 0.8663 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007265/0.7945, allocations: 497.6 kB / 0.8668 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.7947, allocations: 128 kB / 0.8669 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.7959, allocations: 0.4953 MB / 0.8674 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003231/0.7962, allocations: 322.9 kB / 0.8677 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005107/0.7967, allocations: 493.6 kB / 0.8681 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.7992, allocations: 1.739 MB / 0.8698 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7992, allocations: 0 / 0.8698 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.186e-06/0.7992, allocations: 0 / 0.8698 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.773e-05/0.7992, allocations: 0 / 0.8698 GB, free: 4.23 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003293/0.8025, allocations: 1.476 MB / 0.8713 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.8025, allocations: 12.02 kB / 0.8713 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.8027, allocations: 143.7 kB / 0.8714 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.8046, allocations: 268 kB / 0.8717 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.8061, allocations: 0.7314 MB / 0.8724 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.8061, allocations: 66 kB / 0.8725 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.8063, allocations: 87.98 kB / 0.8726 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.8083, allocations: 1.22 MB / 0.8737 GB, free: 68 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.8084, allocations: 0 / 0.8737 GB, free: 68 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.082e-05/0.8085, allocations: 39.98 kB / 0.8738 GB, free: 28 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.8085, allocations: 20 kB / 0.8738 GB, free: 8 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.8105, allocations: 1.116 MB / 0.8749 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004938/0.8154, allocations: 2.382 MB / 0.8772 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.8171, allocations: 0.792 MB / 0.878 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005884/0.8177, allocations: 299.2 kB / 0.8783 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.07e-05/0.8178, allocations: 28.62 kB / 0.8783 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.8188, allocations: 0.6357 MB / 0.8789 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 2.675e-06/0.8188, allocations: 0 / 0.8789 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.003673/0.8225, allocations: 1.227 MB / 0.8801 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.8226, allocations: 188.9 kB / 0.8803 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.8237, allocations: 0.688 MB / 0.881 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.952e-05/0.8238, allocations: 45.7 kB / 0.881 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.8242, allocations: 417.1 kB / 0.8814 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.8245, allocations: 297.6 kB / 0.8817 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.8248, allocations: 162.5 kB / 0.8819 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002292/0.825, allocations: 394.7 kB / 0.8822 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005723/0.8256, allocations: 265.9 kB / 0.8825 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008244/0.8264, allocations: 0.5105 MB / 0.883 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.8278, allocations: 0.6373 MB / 0.8836 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.8278, allocations: 0 / 0.8836 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002195/0.83, allocations: 0.8726 MB / 0.8845 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.83, allocations: 11.94 kB / 0.8845 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.83, allocations: 0 / 0.8845 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/0.8306, allocations: 80.84 kB / 0.8845 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/0.8313, allocations: 167.8 kB / 0.8847 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.8337, allocations: 1.528 MB / 0.8862 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007331/0.8344, allocations: 95.53 kB / 0.8863 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.8345, allocations: 37.84 kB / 0.8863 GB, free: 2.785 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 (97): * Single equations (assignments): 96 * 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.0004786/0.835, allocations: 269.6 kB / 0.8866 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.8351, allocations: 91.44 kB / 0.8867 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.8379, allocations: 1.171 MB / 0.8878 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.8379, allocations: 12 kB / 0.8878 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8379, allocations: 7.984 kB / 0.8878 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.8379, allocations: 3.984 kB / 0.8878 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.8391, allocations: 0.7896 MB / 0.8886 GB, free: 396 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8391, allocations: 0 / 0.8886 GB, free: 396 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.8397, allocations: 155.7 kB / 0.8888 GB, free: 240 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004478/0.8402, allocations: 72.78 kB / 0.8888 GB, free: 164 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.347e-05/0.8402, allocations: 35.84 kB / 0.8889 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.8423, allocations: 1.544 MB / 0.8904 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8423, allocations: 0 / 0.8904 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.8445, allocations: 1.006 MB / 0.8913 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/0.845, allocations: 211 kB / 0.8916 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.8451, allocations: 20 kB / 0.8916 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/0.8458, allocations: 69.41 kB / 0.8916 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.8459, allocations: 88.91 kB / 0.8917 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-05/0.846, allocations: 43.97 kB / 0.8918 GB, free: 13.01 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006964/0.8467, allocations: 499 kB / 0.8922 GB, free: 12.53 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8467, allocations: 0 / 0.8922 GB, free: 12.53 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008742/0.8476, allocations: 339.1 kB / 0.8926 GB, free: 12.2 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.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 (100): * Single equations (assignments): 93 * 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.004436/0.852, allocations: 2.096 MB / 0.8946 GB, free: 10.32 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001825/0.8539, allocations: 0.8352 MB / 0.8954 GB, free: 9.477 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8539, allocations: 0 / 0.8954 GB, free: 9.477 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.8549, allocations: 0.5119 MB / 0.8959 GB, free: 8.953 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.8561, allocations: 309.5 kB / 0.8962 GB, free: 8.668 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.868, allocations: 6.594 MB / 0.9027 GB, free: 1.922 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.8686, allocations: 461.2 kB / 0.9031 GB, free: 1.445 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009703/0.8696, allocations: 271.2 kB / 0.9034 GB, free: 1.176 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006514/0.8702, allocations: 423.2 kB / 0.9038 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of SimCode: time 8.62e-07/0.8702, allocations: 3.938 kB / 0.9038 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07329/0.9435, allocations: 24.72 MB / 0.9279 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.83, allocations: 6.406 kB / 0.9279 GB, free: 8.332 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.830608132760972] Failed to read output from testmodel.py, exit status != 0: 15.072005641646683 15.097082439 14.293045899 Calling exit ...