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.0008081/0.0008081, allocations: 76.45 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008613/0.0008613, allocations: 173.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.8936/0.8936, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.5755/0.5755, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5542 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.442e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004509/0.004524, allocations: 4.679 MB / 0.5587 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.4635/0.468, allocations: 132.8 MB / 0.6884 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.469, allocations: 22.75 kB / 0.6884 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006921/0.4697, allocations: 219.2 kB / 0.6886 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.4719, allocations: 0.5953 MB / 0.6892 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.4741, allocations: 0.8938 MB / 0.6901 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002457/0.4765, allocations: 1.552 MB / 0.6916 GB, free: 41.31 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.4776, allocations: 457.8 kB / 0.692 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.4797, allocations: 0.813 MB / 0.6928 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009711/0.4806, allocations: 446.4 kB / 0.6933 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.4809, allocations: 136.3 kB / 0.6934 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.4824, allocations: 0.5099 MB / 0.6939 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.4828, allocations: 340.8 kB / 0.6942 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007259/0.4836, allocations: 443 kB / 0.6946 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003852/0.4874, allocations: 1.929 MB / 0.6965 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.4874, allocations: 2.875 kB / 0.6965 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.17e-06/0.4874, allocations: 0 / 0.6965 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.383e-05/0.4875, allocations: 1.094 kB / 0.6965 GB, free: 41.11 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003387/0.4909, allocations: 1.517 MB / 0.698 GB, free: 40.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.91e-05/0.491, allocations: 13.41 kB / 0.698 GB, free: 40.36 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.4911, allocations: 151.7 kB / 0.6982 GB, free: 40.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.4928, allocations: 370.3 kB / 0.6985 GB, free: 40.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.4943, allocations: 0.754 MB / 0.6993 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/0.4944, allocations: 75.59 kB / 0.6993 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.4945, allocations: 108.4 kB / 0.6994 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.4961, allocations: 1.337 MB / 0.7007 GB, free: 39.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4961, allocations: 6.938 kB / 0.7007 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.4962, allocations: 43.14 kB / 0.7008 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.4962, allocations: 23.56 kB / 0.7008 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.4976, allocations: 1.233 MB / 0.702 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.5011, allocations: 2.552 MB / 0.7045 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.5026, allocations: 0.9502 MB / 0.7054 GB, free: 38.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.503, allocations: 361 kB / 0.7058 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.195e-05/0.5031, allocations: 25.7 kB / 0.7058 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007097/0.5038, allocations: 0.6786 MB / 0.7065 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=92): time 3.447e-06/0.5038, allocations: 0 / 0.7065 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92): time 0.002107/0.5059, allocations: 1.348 MB / 0.7078 GB, free: 38.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.506, allocations: 199.1 kB / 0.708 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006204/0.5066, allocations: 0.672 MB / 0.7086 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.5066, allocations: 50.92 kB / 0.7087 GB, free: 38.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.5068, allocations: 448 kB / 0.7091 GB, free: 37.81 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.507, allocations: 300 kB / 0.7094 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.5071, allocations: 175.4 kB / 0.7096 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.616e-05/0.5072, allocations: 394.2 kB / 0.7099 GB, free: 37.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.5076, allocations: 327.3 kB / 0.7102 GB, free: 37.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.5081, allocations: 0.5624 MB / 0.7108 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008703/0.509, allocations: 0.7351 MB / 0.7115 GB, free: 36.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.509, allocations: 0 / 0.7115 GB, free: 36.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001345/0.5103, allocations: 0.9943 MB / 0.7125 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5104, allocations: 8.625 kB / 0.7125 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.5104, allocations: 0 / 0.7125 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/0.5107, allocations: 84.98 kB / 0.7126 GB, free: 36.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.5111, allocations: 187 kB / 0.7127 GB, free: 36.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.5123, allocations: 1.523 MB / 0.7142 GB, free: 35.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.5128, allocations: 120.2 kB / 0.7144 GB, free: 35.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.5128, allocations: 36.95 kB / 0.7144 GB, free: 35.54 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (103): * Single equations (assignments): 102 * 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.0003832/0.5132, allocations: 287 kB / 0.7147 GB, free: 35.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.5133, allocations: 95.55 kB / 0.7148 GB, free: 35.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.5149, allocations: 1.224 MB / 0.7159 GB, free: 35.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.5149, allocations: 15.09 kB / 0.716 GB, free: 35.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.5149, allocations: 3.938 kB / 0.716 GB, free: 35.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.5149, allocations: 6.188 kB / 0.716 GB, free: 35.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.5175, allocations: 2.206 MB / 0.7181 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5175, allocations: 2.75 kB / 0.7181 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.5181, allocations: 187.3 kB / 0.7183 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003033/0.5184, allocations: 66 kB / 0.7184 GB, free: 34.81 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/0.5185, allocations: 28.56 kB / 0.7184 GB, free: 34.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.52, allocations: 1.556 MB / 0.7199 GB, free: 33.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.52, allocations: 0.5938 kB / 0.7199 GB, free: 33.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.5221, allocations: 1.159 MB / 0.721 GB, free: 33.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/0.5225, allocations: 210.8 kB / 0.7212 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5226, allocations: 28.81 kB / 0.7213 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.5231, allocations: 84.83 kB / 0.7214 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.5233, allocations: 78.48 kB / 0.7214 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.5233, allocations: 35.91 kB / 0.7215 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005322/0.5238, allocations: 487 kB / 0.7219 GB, free: 33.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5238, allocations: 1.406 kB / 0.7219 GB, free: 33.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008623/0.5247, allocations: 354.2 kB / 0.7223 GB, free: 33.09 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002619/0.5273, allocations: 2.278 MB / 0.7245 GB, free: 32.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.5288, allocations: 0.9342 MB / 0.7254 GB, free: 32.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5288, allocations: 1.531 kB / 0.7254 GB, free: 32.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006777/0.5295, allocations: 0.5608 MB / 0.726 GB, free: 31.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/0.5304, allocations: 311.5 kB / 0.7263 GB, free: 31.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009357/0.5397, allocations: 7.093 MB / 0.7332 GB, free: 29.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.5402, allocations: 474.4 kB / 0.7336 GB, free: 29.68 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008016/0.541, allocations: 293.5 kB / 0.7339 GB, free: 29.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/0.5415, allocations: 427.1 kB / 0.7343 GB, free: 29.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.573e-06/0.5415, allocations: 0 / 0.7343 GB, free: 29.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04818/0.5897, allocations: 25.4 MB / 0.7591 GB, free: 25.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.644/9.233, allocations: 0 / 0.7591 GB, free: 25.48 MB / 0.6355 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 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: 12.035917765460908] Failed to read output from testmodel.py, exit status != 0: 9.388596583157778 9.398367245 8.90904313 Calling exit ...