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.001428/0.001428, allocations: 114.9 kB / 17.84 MB, free: 5.336 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.001582/0.001582, allocations: 205.6 kB / 20.8 MB, free: 2.391 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.623/1.623, allocations: 230.6 MB / 254.2 MB, free: 15.09 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 1.009/1.009, allocations: 150 MB / 460.2 MB, free: 5.684 MB / 350.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.002209/0.002209, allocations: 72.95 kB / 0.6368 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1565, allocations: 89.14 MB / 0.7238 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008077/0.1646, allocations: 5.221 MB / 0.7289 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6113/0.7759, allocations: 154 MB / 0.8794 GB, free: 2.133 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009049/0.7768, allocations: 21.28 kB / 0.8794 GB, free: 2.133 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.7775, allocations: 209.1 kB / 0.8796 GB, free: 2.133 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.7795, allocations: 0.5813 MB / 0.8801 GB, free: 2.121 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.7815, allocations: 0.8637 MB / 0.881 GB, free: 2.117 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.7831, allocations: 1.49 MB / 0.8824 GB, free: 2.109 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007424/0.7839, allocations: 479.1 kB / 0.8829 GB, free: 2.043 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007553/0.7846, allocations: 0.5444 MB / 0.8834 GB, free: 2.043 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000661/0.7853, allocations: 0.5621 MB / 0.884 GB, free: 2.043 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.7855, allocations: 134.2 kB / 0.8841 GB, free: 2.039 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.7867, allocations: 0.52 MB / 0.8846 GB, free: 2.023 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.7871, allocations: 329.9 kB / 0.8849 GB, free: 2.023 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008565/0.7879, allocations: 0.6186 MB / 0.8855 GB, free: 2.023 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.7908, allocations: 1.805 MB / 0.8873 GB, free: 1.91 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.7908, allocations: 3.938 kB / 0.8873 GB, free: 1.91 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7908, allocations: 0 / 0.8873 GB, free: 1.91 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.646e-05/0.7909, allocations: 1 kB / 0.8873 GB, free: 1.91 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00354/0.7944, allocations: 1.587 MB / 0.8889 GB, free: 17.05 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.7945, allocations: 10.31 kB / 0.8889 GB, free: 17.05 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.014e-05/0.7945, allocations: 24.78 kB / 0.8889 GB, free: 17.05 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002289/0.7947, allocations: 151.8 kB / 0.889 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.7974, allocations: 367.6 kB / 0.8894 GB, free: 16.93 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.799, allocations: 0.8121 MB / 0.8902 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.7991, allocations: 73.03 kB / 0.8902 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.7993, allocations: 97.31 kB / 0.8903 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.8015, allocations: 1.063 MB / 0.8914 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.8016, allocations: 4.562 kB / 0.8914 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.8017, allocations: 41.28 kB / 0.8914 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.8017, allocations: 26 kB / 0.8914 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.8042, allocations: 1.266 MB / 0.8927 GB, free: 16.44 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005468/0.8096, allocations: 3.078 MB / 0.8957 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.8123, allocations: 0.9863 MB / 0.8966 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000739/0.813, allocations: 338.8 kB / 0.897 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.593e-05/0.8131, allocations: 32.73 kB / 0.897 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.8142, allocations: 0.5586 MB / 0.8975 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 2.405e-06/0.8142, allocations: 1.312 kB / 0.8975 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.00401/0.8182, allocations: 1.39 MB / 0.8989 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.8183, allocations: 193.5 kB / 0.8991 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008458/0.8192, allocations: 0.67 MB / 0.8997 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.8193, allocations: 42.47 kB / 0.8998 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.8196, allocations: 438.1 kB / 0.9002 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.8197, allocations: 283.8 kB / 0.9005 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.82, allocations: 152.1 kB / 0.9006 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.8202, allocations: 390 kB / 0.901 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000703/0.8209, allocations: 304.5 kB / 0.9013 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000821/0.8217, allocations: 422.3 kB / 0.9017 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.8232, allocations: 0.6901 MB / 0.9024 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8232, allocations: 3.391 kB / 0.9024 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00242/0.8256, allocations: 0.9253 MB / 0.9033 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.8256, allocations: 8.312 kB / 0.9033 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.8256, allocations: 0 / 0.9033 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006435/0.8263, allocations: 83.36 kB / 0.9034 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/0.827, allocations: 178.7 kB / 0.9035 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.8294, allocations: 1.638 MB / 0.9051 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009772/0.8303, allocations: 114.8 kB / 0.9052 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/0.8304, allocations: 32.17 kB / 0.9053 GB, free: 11.98 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 (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.0005238/0.831, allocations: 275 kB / 0.9055 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.8312, allocations: 92.5 kB / 0.9056 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/0.8341, allocations: 1.203 MB / 0.9068 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.8341, allocations: 11.06 kB / 0.9068 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8341, allocations: 0 / 0.9068 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.8341, allocations: 5.484 kB / 0.9068 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.8379, allocations: 2.16 MB / 0.9089 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.8379, allocations: 1.094 kB / 0.9089 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007416/0.8387, allocations: 179.6 kB / 0.9091 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.8391, allocations: 73.48 kB / 0.9092 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.599e-05/0.8392, allocations: 28.28 kB / 0.9092 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.8412, allocations: 1.651 MB / 0.9108 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8412, allocations: 4.203 kB / 0.9108 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.8439, allocations: 1.129 MB / 0.9119 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/0.8444, allocations: 294.6 kB / 0.9122 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.8446, allocations: 21.53 kB / 0.9122 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008846/0.8455, allocations: 79.5 kB / 0.9123 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.8457, allocations: 87.03 kB / 0.9124 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.907e-05/0.8458, allocations: 36.36 kB / 0.9124 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006715/0.8464, allocations: 490 kB / 0.9129 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8464, allocations: 4 kB / 0.9129 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001133/0.8476, allocations: 341.1 kB / 0.9132 GB, free: 9.336 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 (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.004788/0.8524, allocations: 2.182 MB / 0.9153 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.8546, allocations: 0.8884 MB / 0.9162 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8546, allocations: 0 / 0.9162 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.8558, allocations: 0.5584 MB / 0.9167 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.8573, allocations: 310.6 kB / 0.917 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.8718, allocations: 6.835 MB / 0.9237 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.873, allocations: 1.053 MB / 0.9247 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001413/0.8744, allocations: 284 kB / 0.925 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008693/0.8753, allocations: 428 kB / 0.9254 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of SimCode: time 1.473e-06/0.8753, allocations: 2.938 kB / 0.9254 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06256/0.9378, allocations: 23.11 MB / 0.948 GB, free: 7.441 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.01, allocations: 7.25 kB / 0.948 GB, free: 7.438 MB / 0.7013 GB " [Timeout remaining time 645] (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: 19.376533114002086] Failed to read output from testmodel.py, exit status != 0: 15.272791235998739 15.288591979 14.494566742 Calling exit ...