Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001287/0.001287, 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.001479/0.001479, 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.9487/0.9487, allocations: 150 MB / 463.2 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.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.002834/0.002834, allocations: 70.55 kB / 0.6413 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2023, allocations: 89.17 MB / 0.7283 GB, free: 1.367 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008156/0.2104, allocations: 5.261 MB / 0.7335 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5301/0.7405, allocations: 154.2 MB / 0.8841 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009265/0.7414, allocations: 23.81 kB / 0.8841 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007776/0.7422, allocations: 212.9 kB / 0.8843 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.7443, allocations: 0.5858 MB / 0.8849 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.7467, allocations: 0.9103 MB / 0.8858 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002237/0.7489, allocations: 1.472 MB / 0.8872 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009592/0.7499, allocations: 476.6 kB / 0.8877 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009268/0.7508, allocations: 0.5373 MB / 0.8882 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008311/0.7516, allocations: 0.564 MB / 0.8887 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.7519, allocations: 131.9 kB / 0.8889 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.7531, allocations: 0.5386 MB / 0.8894 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.7535, allocations: 323 kB / 0.8897 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006693/0.7541, allocations: 0.6141 MB / 0.8903 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.7566, allocations: 1.815 MB / 0.8921 GB, free: 15.66 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7566, allocations: 0 / 0.8921 GB, free: 15.66 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7566, allocations: 0 / 0.8921 GB, free: 15.66 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.029e-05/0.7566, allocations: 0 / 0.8921 GB, free: 15.66 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.003024/0.7596, allocations: 1.5 MB / 0.8935 GB, free: 14.12 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.7597, allocations: 8.031 kB / 0.8935 GB, free: 14.11 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.7599, allocations: 152.1 kB / 0.8937 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.7712, allocations: 1.807 MB / 0.8955 GB, free: 12.14 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.7729, allocations: 0.762 MB / 0.8962 GB, free: 11.36 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/0.7729, allocations: 70 kB / 0.8963 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.7731, allocations: 95.98 kB / 0.8964 GB, free: 11.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006412/0.7795, allocations: 1.878 MB / 0.8982 GB, free: 9.273 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.7795, allocations: 0 / 0.8982 GB, free: 9.273 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.7797, allocations: 44 kB / 0.8982 GB, free: 9.23 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.7797, allocations: 24 kB / 0.8983 GB, free: 9.207 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.7902, allocations: 2.794 MB / 0.901 GB, free: 6.41 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.8014, allocations: 5.337 MB / 0.9062 GB, free: 316 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006022/0.8074, allocations: 1.6 MB / 0.9078 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00467/0.8121, allocations: 1.097 MB / 0.9088 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.605e-05/0.8122, allocations: 28.61 kB / 0.9089 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005202/0.8174, allocations: 1.354 MB / 0.9102 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 3.347e-06/0.8174, allocations: 0 / 0.9102 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.01538/0.8328, allocations: 3.476 MB / 0.9136 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.8329, allocations: 192.5 kB / 0.9138 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009989/0.8339, allocations: 0.6685 MB / 0.9144 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.8341, allocations: 41.7 kB / 0.9145 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.8344, allocations: 437 kB / 0.9149 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.8347, allocations: 285.6 kB / 0.9151 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.835, allocations: 154.6 kB / 0.9153 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.8352, allocations: 390.8 kB / 0.9157 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004706/0.8399, allocations: 1.067 MB / 0.9167 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004858/0.8448, allocations: 1.17 MB / 0.9178 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008596/0.8534, allocations: 1.969 MB / 0.9198 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.8534, allocations: 0 / 0.9198 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.009972/0.8634, allocations: 2.336 MB / 0.9221 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.8634, allocations: 8 kB / 0.9221 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.8634, allocations: 0 / 0.9221 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/0.864, allocations: 85.61 kB / 0.9221 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/0.8667, allocations: 475.5 kB / 0.9226 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.869, allocations: 1.524 MB / 0.9241 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/0.8718, allocations: 416.9 kB / 0.9245 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.8719, allocations: 36.53 kB / 0.9245 GB, free: 13.26 MB / 0.7012 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 (88): * Single equations (assignments): 87 * 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.0006061/0.8726, allocations: 276.1 kB / 0.9248 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.8728, allocations: 91.44 kB / 0.9249 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.8837, allocations: 2.645 MB / 0.9274 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.8837, allocations: 8 kB / 0.9275 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.8837, allocations: 7.938 kB / 0.9275 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/0.8837, allocations: 7.969 kB / 0.9275 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.8971, allocations: 4.418 MB / 0.9318 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.8971, allocations: 0 / 0.9318 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/0.8998, allocations: 479.5 kB / 0.9322 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000478/0.9002, allocations: 64.8 kB / 0.9323 GB, free: 4.898 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/0.9004, allocations: 32.84 kB / 0.9323 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.9026, allocations: 1.56 MB / 0.9339 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.9026, allocations: 0 / 0.9339 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.9128, allocations: 2.525 MB / 0.9363 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007118/0.9136, allocations: 239 kB / 0.9366 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.9137, allocations: 20 kB / 0.9366 GB, free: 400 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/0.9162, allocations: 383.6 kB / 0.9369 GB, free: 16 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.9165, allocations: 72.94 kB / 0.937 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.9166, allocations: 39.97 kB / 0.937 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007131/0.9173, allocations: 491 kB / 0.9375 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9173, allocations: 3.938 kB / 0.9375 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001074/0.9183, allocations: 371.1 kB / 0.9379 GB, free: 15.05 MB / 0.7169 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 (93): * Single equations (assignments): 87 * 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.01247/0.9308, allocations: 3.577 MB / 0.9414 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01015/0.941, allocations: 2.424 MB / 0.9437 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.941, allocations: 4 kB / 0.9437 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0052/0.9462, allocations: 1.316 MB / 0.945 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.9477, allocations: 306.2 kB / 0.9453 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03667/0.9844, allocations: 11.29 MB / 0.9563 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/0.9851, allocations: 1.058 MB / 0.9574 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001293/0.9864, allocations: 310.9 kB / 0.9577 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008216/0.9873, allocations: 427.2 kB / 0.9581 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of SimCode: time 1.172e-06/0.9873, allocations: 0 / 0.9581 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07365/1.061, allocations: 25.5 MB / 0.983 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/15.11, allocations: 8.094 kB / 0.983 GB, free: 1.062 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.97326799388975] Failed to read output from testmodel.py, exit status != 0: 15.33720970293507 15.351113728 14.591318834 Calling exit ...