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.001245/0.001245, allocations: 97.97 kB / 20.48 MB, free: 1.391 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.001428/0.001428, allocations: 222.5 kB / 23.78 MB, free: 4.555 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.448/1.448, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.9639/0.9639, allocations: 150 MB / 464 MB, free: 10.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001983/0.001983, allocations: 65.61 kB / 0.6419 GB, free: 9.996 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1929, allocations: 89.17 MB / 0.729 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007584/0.2004, allocations: 4.681 MB / 0.7336 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5529/0.7533, allocations: 132.7 MB / 0.8632 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009848/0.7543, allocations: 19.81 kB / 0.8632 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008902/0.7552, allocations: 212.4 kB / 0.8634 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.7575, allocations: 0.5896 MB / 0.864 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.76, allocations: 0.8893 MB / 0.8648 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002185/0.7622, allocations: 1.476 MB / 0.8663 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.7633, allocations: 472.6 kB / 0.8667 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.7643, allocations: 0.5451 MB / 0.8673 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008908/0.7652, allocations: 0.5562 MB / 0.8678 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002807/0.7655, allocations: 128 kB / 0.8679 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.7667, allocations: 0.5278 MB / 0.8684 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004435/0.7672, allocations: 323 kB / 0.8687 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008354/0.768, allocations: 0.4976 MB / 0.8692 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.7707, allocations: 1.819 MB / 0.871 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7707, allocations: 0 / 0.871 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7707, allocations: 7.75 kB / 0.871 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.388e-05/0.7707, allocations: 0 / 0.871 GB, free: 3.75 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.003295/0.774, allocations: 1.5 MB / 0.8725 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.7741, allocations: 12.03 kB / 0.8725 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.335e-05/0.7741, allocations: 27.12 kB / 0.8725 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002085/0.7743, allocations: 148.2 kB / 0.8727 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/0.7864, allocations: 1.799 MB / 0.8744 GB, free: 228 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.7882, allocations: 0.7695 MB / 0.8752 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.7883, allocations: 70 kB / 0.8752 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.7886, allocations: 92 kB / 0.8753 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006825/0.7954, allocations: 2.126 MB / 0.8774 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.7954, allocations: 4 kB / 0.8774 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.7956, allocations: 47.97 kB / 0.8775 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.7956, allocations: 24.5 kB / 0.8775 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.8061, allocations: 2.794 MB / 0.8802 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/0.817, allocations: 4.675 MB / 0.8848 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005969/0.823, allocations: 1.601 MB / 0.8863 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004855/0.8278, allocations: 1.088 MB / 0.8874 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-05/0.8279, allocations: 28.58 kB / 0.8874 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005715/0.8337, allocations: 1.454 MB / 0.8888 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.577e-06/0.8337, allocations: 0 / 0.8888 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.01615/0.8498, allocations: 3.484 MB / 0.8922 GB, free: 13.09 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.85, allocations: 188.6 kB / 0.8924 GB, free: 12.86 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.8513, allocations: 0.6685 MB / 0.8931 GB, free: 12.19 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.8514, allocations: 41.7 kB / 0.8931 GB, free: 12.14 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004665/0.8519, allocations: 437 kB / 0.8935 GB, free: 11.71 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003796/0.8523, allocations: 281.7 kB / 0.8938 GB, free: 11.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003917/0.8527, allocations: 158.6 kB / 0.894 GB, free: 11.27 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.8529, allocations: 386.8 kB / 0.8943 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00468/0.8576, allocations: 1.06 MB / 0.8954 GB, free: 9.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004835/0.8624, allocations: 1.307 MB / 0.8966 GB, free: 8.453 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008693/0.8711, allocations: 1.962 MB / 0.8985 GB, free: 6.48 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.8711, allocations: 0 / 0.8985 GB, free: 6.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01008/0.8812, allocations: 2.336 MB / 0.9008 GB, free: 4.137 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.8812, allocations: 11.75 kB / 0.9008 GB, free: 4.129 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.8812, allocations: 0 / 0.9008 GB, free: 4.129 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/0.8818, allocations: 80.88 kB / 0.9009 GB, free: 4.047 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002668/0.8845, allocations: 475.5 kB / 0.9014 GB, free: 3.582 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.8868, allocations: 1.529 MB / 0.9029 GB, free: 1.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.8896, allocations: 419.2 kB / 0.9033 GB, free: 1.523 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.8897, allocations: 37.53 kB / 0.9033 GB, free: 1.488 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.0006319/0.8903, allocations: 267.7 kB / 0.9036 GB, free: 1.219 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.8906, allocations: 95.42 kB / 0.9036 GB, free: 1.125 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.9017, allocations: 2.653 MB / 0.9062 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.9017, allocations: 8 kB / 0.9062 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9017, allocations: 0 / 0.9062 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.9017, allocations: 3.984 kB / 0.9062 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.9148, allocations: 4.231 MB / 0.9104 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.9148, allocations: 0 / 0.9104 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/0.9174, allocations: 471.5 kB / 0.9108 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004993/0.9179, allocations: 72.77 kB / 0.9109 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.918, allocations: 35.91 kB / 0.9109 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.9202, allocations: 1.551 MB / 0.9124 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.9202, allocations: 4.031 kB / 0.9125 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.9307, allocations: 2.528 MB / 0.9149 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008164/0.9315, allocations: 231 kB / 0.9151 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.9318, allocations: 24.05 kB / 0.9152 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/0.9346, allocations: 379.7 kB / 0.9155 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.9348, allocations: 76.86 kB / 0.9156 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.9349, allocations: 43.89 kB / 0.9156 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007663/0.9357, allocations: 487 kB / 0.9161 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9357, allocations: 0 / 0.9161 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001243/0.9369, allocations: 371.1 kB / 0.9165 GB, free: 3.488 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.01271/0.9496, allocations: 3.619 MB / 0.92 GB, free: 96 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0103/0.9599, allocations: 2.424 MB / 0.9224 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9599, allocations: 0 / 0.9224 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005246/0.9652, allocations: 1.312 MB / 0.9236 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.9667, allocations: 306.3 kB / 0.9239 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03703/1.004, allocations: 11.3 MB / 0.935 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/1.004, allocations: 464.9 kB / 0.9354 GB, free: 116 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001311/1.006, allocations: 314.9 kB / 0.9357 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008744/1.006, allocations: 423.2 kB / 0.9361 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/1.006, allocations: 0 / 0.9361 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06547/1.072, allocations: 26.45 MB / 0.9619 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.95, allocations: 11.5 kB / 0.962 GB, free: 5.238 MB / 0.7325 GB " [Timeout remaining time 644] (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.980035957996733] Failed to read output from testmodel.py, exit status != 0: 16.245357303065248 16.261705132 15.487613121 Calling exit ...