Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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.001279/0.001279, allocations: 109 kB / 20.48 MB, free: 1.473 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.001559/0.001559, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.446/1.446, allocations: 230.6 MB / 257.6 MB, free: 8.012 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.9808/0.9808, allocations: 150 MB / 464 MB, free: 10.54 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.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.002032/0.002032, allocations: 69.58 kB / 0.642 GB, free: 10.48 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1995, allocations: 89.17 MB / 0.7291 GB, free: 1.387 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007397/0.2069, allocations: 4.898 MB / 0.7339 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5691/0.776, allocations: 154.1 MB / 0.8844 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009055/0.7769, allocations: 19.88 kB / 0.8844 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008367/0.7777, allocations: 193 kB / 0.8846 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.7799, allocations: 0.5604 MB / 0.8851 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.7821, allocations: 0.8841 MB / 0.886 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002098/0.7842, allocations: 1.402 MB / 0.8874 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009221/0.7851, allocations: 417.8 kB / 0.8878 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008977/0.786, allocations: 0.5022 MB / 0.8883 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008753/0.7869, allocations: 0.5123 MB / 0.8888 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.7872, allocations: 120 kB / 0.8889 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.7883, allocations: 0.518 MB / 0.8894 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003652/0.7887, allocations: 299 kB / 0.8897 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007557/0.7894, allocations: 0.5675 MB / 0.8902 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.7921, allocations: 1.702 MB / 0.8919 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7921, allocations: 4 kB / 0.8919 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7921, allocations: 0 / 0.8919 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.304e-05/0.7921, allocations: 0 / 0.8919 GB, free: 0.6211 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003642/0.7958, allocations: 1.411 MB / 0.8933 GB, free: 15.17 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.7958, allocations: 8.031 kB / 0.8933 GB, free: 15.16 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.074e-05/0.7959, allocations: 26.69 kB / 0.8933 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/0.7961, allocations: 139.3 kB / 0.8934 GB, free: 14.99 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.7978, allocations: 244.5 kB / 0.8937 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.7992, allocations: 0.7112 MB / 0.8944 GB, free: 14.02 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.919e-05/0.7993, allocations: 62 kB / 0.8944 GB, free: 13.96 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.7994, allocations: 80 kB / 0.8945 GB, free: 13.88 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.8011, allocations: 0.9222 MB / 0.8954 GB, free: 12.92 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.8011, allocations: 0 / 0.8954 GB, free: 12.92 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.075e-05/0.8012, allocations: 39.98 kB / 0.8954 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.8012, allocations: 20.5 kB / 0.8954 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.8032, allocations: 1.108 MB / 0.8965 GB, free: 11.75 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00471/0.8079, allocations: 2.726 MB / 0.8992 GB, free: 8.898 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.8096, allocations: 0.7692 MB / 0.8999 GB, free: 8.129 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005956/0.8102, allocations: 274.7 kB / 0.9002 GB, free: 7.852 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.706e-05/0.8103, allocations: 36.59 kB / 0.9002 GB, free: 7.816 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009465/0.8112, allocations: 0.489 MB / 0.9007 GB, free: 7.312 MB / 0.67 GB Notification: Performance of pre-optimization done (n=79): time 2.304e-06/0.8112, allocations: 0 / 0.9007 GB, free: 7.312 MB / 0.67 GB Notification: Performance of matching and sorting (n=79): time 0.003359/0.8146, allocations: 1.115 MB / 0.9018 GB, free: 6.188 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.8147, allocations: 196.6 kB / 0.902 GB, free: 5.953 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.8158, allocations: 0.6489 MB / 0.9026 GB, free: 5.297 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.411e-05/0.8159, allocations: 37.7 kB / 0.9027 GB, free: 5.254 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.8163, allocations: 409 kB / 0.9031 GB, free: 4.848 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.8166, allocations: 269.7 kB / 0.9033 GB, free: 4.582 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.8169, allocations: 154.5 kB / 0.9035 GB, free: 4.426 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002373/0.8171, allocations: 386.7 kB / 0.9038 GB, free: 4.039 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006514/0.8178, allocations: 257.8 kB / 0.9041 GB, free: 3.785 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006828/0.8184, allocations: 354.6 kB / 0.9044 GB, free: 3.414 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.8197, allocations: 0.5799 MB / 0.905 GB, free: 2.824 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.8197, allocations: 4.562 kB / 0.905 GB, free: 2.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002236/0.822, allocations: 0.7984 MB / 0.9058 GB, free: 2.008 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.822, allocations: 4 kB / 0.9058 GB, free: 2.004 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.822, allocations: 4 kB / 0.9058 GB, free: 2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006686/0.8227, allocations: 88.8 kB / 0.9059 GB, free: 1.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.8233, allocations: 147.8 kB / 0.906 GB, free: 1.766 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.8258, allocations: 1.542 MB / 0.9075 GB, free: 112 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007417/0.8265, allocations: 91.61 kB / 0.9076 GB, free: 20 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/0.8266, allocations: 28.03 kB / 0.9076 GB, free: 15.99 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: 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.0005838/0.8272, allocations: 265.6 kB / 0.9079 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.8274, allocations: 87.44 kB / 0.9079 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/0.8301, allocations: 1.072 MB / 0.909 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.8301, allocations: 8 kB / 0.909 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8301, allocations: 3.938 kB / 0.909 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.8301, allocations: 3.984 kB / 0.909 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.8342, allocations: 1.947 MB / 0.9109 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.8343, allocations: 4 kB / 0.9109 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.8349, allocations: 143.8 kB / 0.9111 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/0.8353, allocations: 68.78 kB / 0.9111 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.851e-05/0.8354, allocations: 23.98 kB / 0.9111 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.8375, allocations: 1.571 MB / 0.9127 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.8375, allocations: 4.031 kB / 0.9127 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.8398, allocations: 0.9945 MB / 0.9137 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005376/0.8403, allocations: 207.1 kB / 0.9138 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.8405, allocations: 28.05 kB / 0.9139 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007064/0.8412, allocations: 57.06 kB / 0.9139 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.8413, allocations: 76.94 kB / 0.914 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.114e-05/0.8414, allocations: 39.97 kB / 0.914 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006797/0.8421, allocations: 479 kB / 0.9145 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8421, allocations: 3.938 kB / 0.9145 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009113/0.843, allocations: 319.1 kB / 0.9148 GB, free: 8.41 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.004391/0.8474, allocations: 2.051 MB / 0.9168 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.8493, allocations: 0.7688 MB / 0.9176 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.8493, allocations: 4 kB / 0.9176 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.8503, allocations: 0.4925 MB / 0.918 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.8519, allocations: 303.7 kB / 0.9183 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.8646, allocations: 6.28 MB / 0.9245 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009014/0.8655, allocations: 1.027 MB / 0.9255 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009562/0.8665, allocations: 262.7 kB / 0.9257 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006722/0.8671, allocations: 391.2 kB / 0.9261 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of SimCode: time 1.473e-06/0.8671, allocations: 0 / 0.9261 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06309/0.9302, allocations: 22.53 MB / 0.9481 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.57, allocations: 8 kB / 0.9481 GB, free: 6.543 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.624835947994143] Failed to read output from testmodel.py, exit status != 0: 15.87227635999443 15.901758669 15.103907068 Calling exit ...