Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001648/0.001648, allocations: 108.9 kB / 20.48 MB, free: 1.344 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.002449/0.002449, allocations: 216.7 kB / 23.8 MB, free: 4.16 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 / 257.6 MB, free: 8.008 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.9761/0.9761, allocations: 150 MB / 464 MB, free: 10.46 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.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.002829/0.002829, allocations: 66.5 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1911, allocations: 89.18 MB / 0.7291 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007414/0.1985, allocations: 4.863 MB / 0.7339 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6176/0.8162, allocations: 154.1 MB / 0.8844 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.8176, allocations: 19.88 kB / 0.8844 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.8186, allocations: 196.2 kB / 0.8846 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.8214, allocations: 0.5564 MB / 0.8851 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.8243, allocations: 0.8642 MB / 0.886 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002444/0.8268, allocations: 1.394 MB / 0.8873 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.8278, allocations: 407.9 kB / 0.8877 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.8288, allocations: 0.4983 MB / 0.8882 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009846/0.8298, allocations: 0.4979 MB / 0.8887 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.8301, allocations: 116 kB / 0.8888 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.8315, allocations: 0.5102 MB / 0.8893 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004835/0.832, allocations: 299 kB / 0.8896 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.833, allocations: 0.5558 MB / 0.8901 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.8362, allocations: 1.667 MB / 0.8917 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8362, allocations: 4 kB / 0.8917 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8362, allocations: 0 / 0.8917 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.754e-05/0.8363, allocations: 0 / 0.8917 GB, free: 0.6914 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003807/0.8401, allocations: 1.407 MB / 0.8931 GB, free: 15.24 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.8402, allocations: 8.031 kB / 0.8931 GB, free: 15.23 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.537e-05/0.8402, allocations: 22.19 kB / 0.8931 GB, free: 15.21 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002785/0.8405, allocations: 131.3 kB / 0.8933 GB, free: 15.08 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.8423, allocations: 228 kB / 0.8935 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.8439, allocations: 0.7073 MB / 0.8942 GB, free: 14.12 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/0.844, allocations: 69.94 kB / 0.8942 GB, free: 14.05 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.8441, allocations: 80 kB / 0.8943 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.8458, allocations: 0.8989 MB / 0.8952 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.8458, allocations: 3.938 kB / 0.8952 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.895e-05/0.8459, allocations: 39.98 kB / 0.8952 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.8459, allocations: 20 kB / 0.8953 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.8478, allocations: 1.093 MB / 0.8963 GB, free: 11.88 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004907/0.8527, allocations: 2.675 MB / 0.8989 GB, free: 9.078 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.8544, allocations: 0.7435 MB / 0.8997 GB, free: 8.336 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005803/0.855, allocations: 276.5 kB / 0.8999 GB, free: 8.059 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.859e-05/0.855, allocations: 28.61 kB / 0.9 GB, free: 8.031 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009855/0.856, allocations: 0.4917 MB / 0.9004 GB, free: 7.523 MB / 0.67 GB Notification: Performance of pre-optimization done (n=79): time 4.227e-06/0.856, allocations: 0 / 0.9004 GB, free: 7.523 MB / 0.67 GB Notification: Performance of matching and sorting (n=79): time 0.003467/0.8595, allocations: 1.107 MB / 0.9015 GB, free: 6.406 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.8596, allocations: 188.6 kB / 0.9017 GB, free: 6.18 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.8607, allocations: 0.6567 MB / 0.9023 GB, free: 5.516 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.8608, allocations: 45.64 kB / 0.9024 GB, free: 5.465 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/0.8612, allocations: 397 kB / 0.9028 GB, free: 5.07 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.8615, allocations: 273.7 kB / 0.903 GB, free: 4.801 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.8617, allocations: 142.6 kB / 0.9032 GB, free: 4.656 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002507/0.862, allocations: 390.7 kB / 0.9035 GB, free: 4.266 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.8625, allocations: 241.9 kB / 0.9038 GB, free: 4.027 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006874/0.8632, allocations: 354.6 kB / 0.9041 GB, free: 3.656 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.8644, allocations: 0.576 MB / 0.9047 GB, free: 3.066 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8644, allocations: 0 / 0.9047 GB, free: 3.066 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002101/0.8665, allocations: 0.8022 MB / 0.9054 GB, free: 2.254 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.8665, allocations: 5.406 kB / 0.9055 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.8665, allocations: 4.875 kB / 0.9055 GB, free: 2.246 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006189/0.8671, allocations: 80.88 kB / 0.9055 GB, free: 2.164 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.8677, allocations: 147.8 kB / 0.9057 GB, free: 2.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.87, allocations: 1.528 MB / 0.9072 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/0.8708, allocations: 88.39 kB / 0.9073 GB, free: 296 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.918e-05/0.8708, allocations: 36.59 kB / 0.9073 GB, free: 260 kB / 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 (85): * Single equations (assignments): 84 * 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.0006256/0.8715, allocations: 269.6 kB / 0.9075 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/0.8717, allocations: 87.44 kB / 0.9076 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.8743, allocations: 1.051 MB / 0.9087 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.8743, allocations: 8 kB / 0.9087 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.8743, allocations: 0 / 0.9087 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.8744, allocations: 11.86 kB / 0.9087 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/0.8782, allocations: 1.904 MB / 0.9105 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.8782, allocations: 3.938 kB / 0.9105 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/0.8788, allocations: 143.8 kB / 0.9107 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004643/0.8793, allocations: 68.8 kB / 0.9107 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.8794, allocations: 27.97 kB / 0.9108 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.8815, allocations: 1.556 MB / 0.9123 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.8815, allocations: 3.984 kB / 0.9123 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.8838, allocations: 0.9906 MB / 0.9133 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006015/0.8844, allocations: 191.2 kB / 0.9134 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.8846, allocations: 27.94 kB / 0.9135 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000813/0.8855, allocations: 59.94 kB / 0.9135 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.8857, allocations: 76.86 kB / 0.9136 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.8858, allocations: 35.97 kB / 0.9136 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008458/0.8866, allocations: 471 kB / 0.9141 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8866, allocations: 0 / 0.9141 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001185/0.8878, allocations: 327.1 kB / 0.9144 GB, free: 8.77 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: 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.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 (90): * Single equations (assignments): 84 * 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.004613/0.8924, allocations: 2.038 MB / 0.9164 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.8944, allocations: 0.765 MB / 0.9171 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.8944, allocations: 4 kB / 0.9171 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.8954, allocations: 484.2 kB / 0.9176 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.8969, allocations: 307.2 kB / 0.9179 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.9087, allocations: 6.232 MB / 0.924 GB, free: 15 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/0.9095, allocations: 1.027 MB / 0.925 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000889/0.9104, allocations: 258.7 kB / 0.9252 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006306/0.911, allocations: 379.3 kB / 0.9256 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of SimCode: time 1.042e-06/0.911, allocations: 3.938 kB / 0.9256 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0766/0.9876, allocations: 22.25 MB / 0.9473 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.27, allocations: 11.92 kB / 0.9473 GB, free: 7.273 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.438604658993427] Failed to read output from testmodel.py, exit status != 0: 15.557151629007421 15.574044533 14.734229849 Calling exit ...