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.0009523/0.0009523, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.001059/0.001059, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9522/0.9522, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5937/0.5937, allocations: 114 MB / 373.9 MB, free: 8.699 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.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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.353e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004876/0.004899, allocations: 4.677 MB / 0.5587 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.4543/0.4592, allocations: 132.8 MB / 0.6885 GB, free: 41.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.4602, allocations: 20.97 kB / 0.6885 GB, free: 41.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006745/0.4609, allocations: 215.5 kB / 0.6887 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.4626, allocations: 0.5997 MB / 0.6893 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.4644, allocations: 0.9084 MB / 0.6902 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.4657, allocations: 1.542 MB / 0.6917 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006097/0.4663, allocations: 451.5 kB / 0.6921 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008306/0.4672, allocations: 0.8101 MB / 0.6929 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.4676, allocations: 448.6 kB / 0.6933 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.4677, allocations: 133 kB / 0.6934 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008465/0.4686, allocations: 0.5197 MB / 0.6939 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.4688, allocations: 341.2 kB / 0.6943 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.4691, allocations: 429.7 kB / 0.6947 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.4707, allocations: 1.948 MB / 0.6966 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4708, allocations: 0 / 0.6966 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4708, allocations: 0 / 0.6966 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.4708, allocations: 0 / 0.6966 GB, free: 41.09 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001718/0.4725, allocations: 1.511 MB / 0.6981 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.4725, allocations: 9.156 kB / 0.6981 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.4727, allocations: 152.4 kB / 0.6982 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00487/0.4775, allocations: 1.805 MB / 0.7 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.4786, allocations: 0.7744 MB / 0.7007 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.4787, allocations: 76.22 kB / 0.7008 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.4788, allocations: 104 kB / 0.7009 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/0.4819, allocations: 2.152 MB / 0.703 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.4819, allocations: 2.938 kB / 0.703 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.499e-05/0.482, allocations: 38.78 kB / 0.703 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.482, allocations: 23.25 kB / 0.7031 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004812/0.4868, allocations: 2.762 MB / 0.7058 GB, free: 39.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007682/0.4945, allocations: 4.843 MB / 0.7105 GB, free: 36.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/0.4978, allocations: 1.642 MB / 0.7121 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/0.5, allocations: 1.116 MB / 0.7132 GB, free: 36.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.357e-05/0.5001, allocations: 32.36 kB / 0.7132 GB, free: 36.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002916/0.503, allocations: 1.483 MB / 0.7147 GB, free: 36.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=90): time 3.677e-06/0.503, allocations: 0 / 0.7147 GB, free: 36.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90): time 0.00891/0.5119, allocations: 3.525 MB / 0.7181 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.512, allocations: 201.2 kB / 0.7183 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.5131, allocations: 0.6716 MB / 0.719 GB, free: 35.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001877/0.5133, allocations: 50.48 kB / 0.719 GB, free: 35.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.5137, allocations: 437.7 kB / 0.7194 GB, free: 35.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.5139, allocations: 293.9 kB / 0.7197 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/0.5142, allocations: 173.1 kB / 0.7199 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5143, allocations: 399.3 kB / 0.7202 GB, free: 34.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/0.5171, allocations: 1.085 MB / 0.7213 GB, free: 34.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/0.5202, allocations: 1.33 MB / 0.7226 GB, free: 34.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005247/0.5254, allocations: 2.012 MB / 0.7246 GB, free: 34.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.5254, allocations: 1.438 kB / 0.7246 GB, free: 34.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.006238/0.5317, allocations: 2.396 MB / 0.7269 GB, free: 34.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.5317, allocations: 5.625 kB / 0.7269 GB, free: 34.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.5317, allocations: 2.844 kB / 0.7269 GB, free: 34.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/0.5322, allocations: 82.09 kB / 0.727 GB, free: 34.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.5337, allocations: 486.2 kB / 0.7275 GB, free: 34.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.5356, allocations: 1.526 MB / 0.7289 GB, free: 32.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/0.5376, allocations: 417.8 kB / 0.7293 GB, free: 32.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.5377, allocations: 38.2 kB / 0.7294 GB, free: 32.77 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 (101): * Single equations (assignments): 100 * 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.0008873/0.5386, allocations: 290 kB / 0.7297 GB, free: 32.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.5388, allocations: 89.98 kB / 0.7297 GB, free: 32.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006554/0.5454, allocations: 2.678 MB / 0.7324 GB, free: 32.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.5454, allocations: 12.97 kB / 0.7324 GB, free: 32.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5454, allocations: 0 / 0.7324 GB, free: 32.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.5454, allocations: 10.11 kB / 0.7324 GB, free: 32.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007628/0.553, allocations: 4.434 MB / 0.7367 GB, free: 30.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.553, allocations: 0 / 0.7367 GB, free: 30.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.5542, allocations: 485.8 kB / 0.7372 GB, free: 30.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000251/0.5544, allocations: 69.92 kB / 0.7372 GB, free: 30.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/0.5545, allocations: 34.98 kB / 0.7373 GB, free: 30.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.5555, allocations: 1.55 MB / 0.7388 GB, free: 29.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5555, allocations: 0 / 0.7388 GB, free: 29.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004644/0.5601, allocations: 2.563 MB / 0.7413 GB, free: 29.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.5606, allocations: 238.7 kB / 0.7415 GB, free: 29.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.5607, allocations: 23.25 kB / 0.7415 GB, free: 29.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.5618, allocations: 383.4 kB / 0.7419 GB, free: 29.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.5619, allocations: 78.86 kB / 0.742 GB, free: 29.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.562, allocations: 41.47 kB / 0.742 GB, free: 29.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004801/0.5625, allocations: 486.7 kB / 0.7425 GB, free: 29.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5625, allocations: 1.203 kB / 0.7425 GB, free: 29.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009341/0.5634, allocations: 377.5 kB / 0.7428 GB, free: 29.07 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 (100): * Single equations (assignments): 89 * 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.005592/0.569, allocations: 3.68 MB / 0.7464 GB, free: 28.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004605/0.5736, allocations: 2.462 MB / 0.7488 GB, free: 27.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.5736, allocations: 4 kB / 0.7489 GB, free: 27.94 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002264/0.5759, allocations: 1.328 MB / 0.7501 GB, free: 27.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009224/0.5768, allocations: 303.8 kB / 0.7504 GB, free: 27.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/0.5936, allocations: 11.55 MB / 0.7617 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.5939, allocations: 468 kB / 0.7622 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007884/0.5947, allocations: 327.7 kB / 0.7625 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/0.5952, allocations: 426.8 kB / 0.7629 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of SimCode: time 1.523e-06/0.5952, allocations: 1.094 kB / 0.7629 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/0.6314, allocations: 27.4 MB / 0.7896 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.811/9.442, allocations: 0 / 0.7896 GB, free: 7.562 MB / 0.6355 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 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: 12.343689044006169] Failed to read output from testmodel.py, exit status != 0: 9.596709415316582 9.605278793 9.132315215 Calling exit ...