Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001281/0.001281, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001561/0.001561, allocations: 215.2 kB / 23.78 MB, free: 4.523 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.435/1.435, allocations: 230.6 MB / 257.5 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.9611/0.9611, allocations: 150 MB / 463.9 MB, free: 10.2 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.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.001974/0.001974, allocations: 58.28 kB / 0.6419 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2038, allocations: 89.18 MB / 0.729 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007945/0.2117, allocations: 4.666 MB / 0.7336 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5341/0.7458, allocations: 132.6 MB / 0.8631 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.7469, allocations: 23.81 kB / 0.8631 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009865/0.7479, allocations: 210.1 kB / 0.8633 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.7505, allocations: 0.5856 MB / 0.8639 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.7531, allocations: 0.879 MB / 0.8648 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.7556, allocations: 1.478 MB / 0.8662 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.7567, allocations: 482.3 kB / 0.8667 GB, free: 8 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009549/0.7576, allocations: 0.5489 MB / 0.8672 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.7587, allocations: 0.5679 MB / 0.8678 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003371/0.759, allocations: 128 kB / 0.8679 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.7604, allocations: 0.512 MB / 0.8684 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.7607, allocations: 323 kB / 0.8687 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006455/0.7614, allocations: 0.5015 MB / 0.8692 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.764, allocations: 1.815 MB / 0.871 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.764, allocations: 4 kB / 0.871 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.452e-06/0.764, allocations: 0 / 0.871 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.716e-05/0.764, allocations: 3.938 kB / 0.871 GB, free: 3.598 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003072/0.7671, allocations: 1.501 MB / 0.8724 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.7671, allocations: 12.03 kB / 0.8724 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.164e-05/0.7672, allocations: 30.12 kB / 0.8725 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/0.7674, allocations: 148.3 kB / 0.8726 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002582/0.77, allocations: 375.8 kB / 0.873 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.7713, allocations: 0.7346 MB / 0.8737 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/0.7714, allocations: 74 kB / 0.8738 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.7715, allocations: 88 kB / 0.8738 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.7739, allocations: 1.328 MB / 0.8751 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.7739, allocations: 0 / 0.8751 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.774, allocations: 49.02 kB / 0.8752 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.774, allocations: 24 kB / 0.8752 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.7766, allocations: 1.264 MB / 0.8765 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004964/0.7816, allocations: 2.413 MB / 0.8788 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.7843, allocations: 0.9065 MB / 0.8797 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008483/0.7852, allocations: 330.6 kB / 0.88 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.468e-05/0.7853, allocations: 28.64 kB / 0.88 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/0.7866, allocations: 0.654 MB / 0.8807 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=84): time 2.846e-06/0.7866, allocations: 4 kB / 0.8807 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.004252/0.7908, allocations: 1.313 MB / 0.882 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.791, allocations: 196.9 kB / 0.8821 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.7921, allocations: 0.6607 MB / 0.8828 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.7922, allocations: 41.7 kB / 0.8828 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/0.7928, allocations: 445 kB / 0.8833 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.7931, allocations: 281.5 kB / 0.8835 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.7934, allocations: 161.6 kB / 0.8837 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002446/0.7937, allocations: 386.8 kB / 0.884 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008225/0.7945, allocations: 301.8 kB / 0.8843 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009985/0.7955, allocations: 0.5419 MB / 0.8849 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.7971, allocations: 0.694 MB / 0.8855 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.7971, allocations: 0 / 0.8855 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002764/0.7999, allocations: 0.9272 MB / 0.8864 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.7999, allocations: 6.344 kB / 0.8865 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.7999, allocations: 96 / 0.8865 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006519/0.8006, allocations: 80.72 kB / 0.8865 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008693/0.8015, allocations: 183.8 kB / 0.8867 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.8038, allocations: 1.517 MB / 0.8882 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009892/0.8047, allocations: 115.5 kB / 0.8883 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.916e-05/0.8048, allocations: 31.98 kB / 0.8883 GB, free: 1.254 MB / 0.6544 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 (90): * Single equations (assignments): 89 * 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.0005229/0.8054, allocations: 267.6 kB / 0.8886 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.8056, allocations: 95.38 kB / 0.8887 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/0.8087, allocations: 1.203 MB / 0.8899 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.8087, allocations: 12 kB / 0.8899 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8087, allocations: 0 / 0.8899 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.8088, allocations: 11.91 kB / 0.8899 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004167/0.8129, allocations: 1.995 MB / 0.8918 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.8129, allocations: 4 kB / 0.8918 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/0.8138, allocations: 175.7 kB / 0.892 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.8142, allocations: 72.78 kB / 0.8921 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/0.8143, allocations: 28.84 kB / 0.8921 GB, free: 13.33 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.8164, allocations: 1.559 MB / 0.8936 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8164, allocations: 0 / 0.8936 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/0.8193, allocations: 1.127 MB / 0.8947 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/0.8198, allocations: 215 kB / 0.8949 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.82, allocations: 20 kB / 0.8949 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/0.8209, allocations: 83.91 kB / 0.895 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.821, allocations: 80.8 kB / 0.8951 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-05/0.8211, allocations: 39.97 kB / 0.8951 GB, free: 10.09 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007278/0.8218, allocations: 487 kB / 0.8956 GB, free: 9.617 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8218, allocations: 4 kB / 0.8956 GB, free: 9.613 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001007/0.8229, allocations: 343.1 kB / 0.8959 GB, free: 9.277 MB / 0.67 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 (97): * Single equations (assignments): 91 * 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.005168/0.828, allocations: 2.214 MB / 0.8981 GB, free: 7.277 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002369/0.8304, allocations: 0.89 MB / 0.899 GB, free: 6.379 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8304, allocations: 3.938 kB / 0.899 GB, free: 6.375 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.8317, allocations: 0.5509 MB / 0.8995 GB, free: 5.809 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.8331, allocations: 309.6 kB / 0.8998 GB, free: 5.535 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.8465, allocations: 6.832 MB / 0.9065 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.847, allocations: 471.2 kB / 0.9069 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009988/0.848, allocations: 283.1 kB / 0.9072 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007108/0.8487, allocations: 435.2 kB / 0.9076 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of SimCode: time 1.022e-06/0.8487, allocations: 0 / 0.9076 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06238/0.9111, allocations: 24.47 MB / 0.9315 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/16, allocations: 0 / 0.9315 GB, free: 5.219 MB / 0.7012 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.005046132951975] Failed to read output from testmodel.py, exit status != 0: 16.283338570967317 16.299977886 15.532458268 Calling exit ...