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.001342/0.001342, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001449/0.001449, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.949/0.949, allocations: 149.9 MB / 463.1 MB, free: 10.36 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.002413/0.002413, allocations: 70.7 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1873, allocations: 89.17 MB / 0.7281 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007905/0.1952, allocations: 4.674 MB / 0.7327 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.498/0.6932, allocations: 132.8 MB / 0.8624 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007462/0.6939, allocations: 19.88 kB / 0.8624 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.6946, allocations: 204.1 kB / 0.8626 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.6965, allocations: 0.5943 MB / 0.8632 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.6987, allocations: 0.8811 MB / 0.864 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00169/0.7004, allocations: 1.484 MB / 0.8655 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008081/0.7012, allocations: 440.7 kB / 0.8659 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008215/0.702, allocations: 0.5489 MB / 0.8665 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007617/0.7027, allocations: 0.4898 MB / 0.8669 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.7029, allocations: 132 kB / 0.8671 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.704, allocations: 0.5152 MB / 0.8676 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.7043, allocations: 319 kB / 0.8679 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005492/0.7049, allocations: 0.5054 MB / 0.8684 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.7071, allocations: 1.819 MB / 0.8701 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7071, allocations: 7.922 kB / 0.8701 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7071, allocations: 0 / 0.8701 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.7071, allocations: 0 / 0.8701 GB, free: 3.977 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002686/0.7098, allocations: 1.489 MB / 0.8716 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.7098, allocations: 11.97 kB / 0.8716 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/0.71, allocations: 148.2 kB / 0.8717 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.7216, allocations: 1.799 MB / 0.8735 GB, free: 496 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.7233, allocations: 0.7703 MB / 0.8743 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-05/0.7233, allocations: 74 kB / 0.8743 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.7235, allocations: 92 kB / 0.8744 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006524/0.73, allocations: 2.129 MB / 0.8765 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.7301, allocations: 3.938 kB / 0.8765 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.7302, allocations: 44 kB / 0.8765 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.7302, allocations: 20 kB / 0.8766 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.7408, allocations: 2.759 MB / 0.8793 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/0.7514, allocations: 4.668 MB / 0.8838 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006017/0.7574, allocations: 1.596 MB / 0.8854 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004842/0.7623, allocations: 1.097 MB / 0.8864 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-05/0.7624, allocations: 32.45 kB / 0.8865 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005403/0.7678, allocations: 1.448 MB / 0.8879 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.746e-06/0.7678, allocations: 0 / 0.8879 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.01605/0.7838, allocations: 3.472 MB / 0.8913 GB, free: 13.41 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.784, allocations: 196.5 kB / 0.8915 GB, free: 13.17 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.785, allocations: 0.6724 MB / 0.8921 GB, free: 12.49 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001697/0.7852, allocations: 41.7 kB / 0.8922 GB, free: 12.45 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.7856, allocations: 437 kB / 0.8926 GB, free: 12.01 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.7859, allocations: 281.5 kB / 0.8928 GB, free: 11.74 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/0.7862, allocations: 158.6 kB / 0.893 GB, free: 11.57 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.7865, allocations: 394.7 kB / 0.8934 GB, free: 11.18 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004977/0.7914, allocations: 1.052 MB / 0.8944 GB, free: 10.13 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005103/0.7965, allocations: 1.299 MB / 0.8957 GB, free: 8.77 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009028/0.8056, allocations: 1.973 MB / 0.8976 GB, free: 6.785 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.8056, allocations: 3.75 kB / 0.8976 GB, free: 6.785 MB / 0.67 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01045/0.816, allocations: 2.332 MB / 0.8999 GB, free: 4.445 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.816, allocations: 4 kB / 0.8999 GB, free: 4.441 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.816, allocations: 0 / 0.8999 GB, free: 4.441 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.8167, allocations: 88.8 kB / 0.9 GB, free: 4.352 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002725/0.8194, allocations: 484.1 kB / 0.9004 GB, free: 3.879 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.8218, allocations: 1.512 MB / 0.9019 GB, free: 2.242 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/0.8245, allocations: 416.3 kB / 0.9023 GB, free: 1.836 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-05/0.8246, allocations: 39.97 kB / 0.9023 GB, free: 1.797 MB / 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 (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.0005982/0.8252, allocations: 265.7 kB / 0.9026 GB, free: 1.527 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.8255, allocations: 91.38 kB / 0.9027 GB, free: 1.438 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.8365, allocations: 2.652 MB / 0.9053 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.8365, allocations: 12 kB / 0.9053 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.8365, allocations: 0 / 0.9053 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.8365, allocations: 7.969 kB / 0.9053 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.8494, allocations: 4.223 MB / 0.9094 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.8494, allocations: 1.125 kB / 0.9094 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002678/0.8521, allocations: 483.4 kB / 0.9099 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004571/0.8525, allocations: 76.78 kB / 0.91 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.8526, allocations: 27.97 kB / 0.91 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.8548, allocations: 1.552 MB / 0.9115 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8548, allocations: 0 / 0.9115 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/0.8653, allocations: 2.524 MB / 0.914 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007115/0.866, allocations: 235 kB / 0.9142 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.8662, allocations: 27.94 kB / 0.9142 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002668/0.8688, allocations: 383.6 kB / 0.9146 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.869, allocations: 68.86 kB / 0.9146 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.8691, allocations: 39.97 kB / 0.9147 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007127/0.8698, allocations: 491 kB / 0.9151 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8698, allocations: 4 kB / 0.9152 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001033/0.8709, allocations: 367.1 kB / 0.9155 GB, free: 3.797 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 (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.01317/0.884, allocations: 3.613 MB / 0.919 GB, free: 416 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01073/0.8948, allocations: 2.424 MB / 0.9214 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.8948, allocations: 4 kB / 0.9214 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005487/0.9003, allocations: 1.32 MB / 0.9227 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.9018, allocations: 314.7 kB / 0.923 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03795/0.9397, allocations: 11.3 MB / 0.934 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.9403, allocations: 457.6 kB / 0.9345 GB, free: 432 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001292/0.9416, allocations: 310.9 kB / 0.9348 GB, free: 116 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008395/0.9424, allocations: 431.3 kB / 0.9352 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.9424, allocations: 0 / 0.9352 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07099/1.013, allocations: 26.68 MB / 0.9612 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.08, allocations: 5.125 kB / 0.9612 GB, free: 5.289 MB / 0.7325 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: 19.005490420851856] Failed to read output from testmodel.py, exit status != 0: 15.31810960592702 15.342289772 14.630682408 Calling exit ...