Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001831/0.001831, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002407/0.002407, allocations: 218.9 kB / 22.26 MB, free: 5.125 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8412/0.8412, allocations: 134 MB / 446.4 MB, free: 10.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001951/0.001951, allocations: 73.47 kB / 0.6185 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1744, allocations: 85.9 MB / 0.7024 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006141/0.1806, allocations: 4.285 MB / 0.7066 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5605/0.7411, allocations: 154.1 MB / 0.8571 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.7421, allocations: 23.81 kB / 0.8571 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008145/0.7429, allocations: 177.2 kB / 0.8573 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.7453, allocations: 0.4951 MB / 0.8577 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.7484, allocations: 0.8692 MB / 0.8586 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002208/0.7507, allocations: 1.223 MB / 0.8598 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009149/0.7516, allocations: 0.5049 MB / 0.8603 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006683/0.7522, allocations: 490.3 kB / 0.8607 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005901/0.7528, allocations: 489.8 kB / 0.8612 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.753, allocations: 116 kB / 0.8613 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.7541, allocations: 0.5343 MB / 0.8618 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.7544, allocations: 299 kB / 0.8621 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.7549, allocations: 0.5362 MB / 0.8627 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.7568, allocations: 1.64 MB / 0.8643 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.31e-05/0.7569, allocations: 4 kB / 0.8643 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.434e-06/0.7569, allocations: 3.938 kB / 0.8643 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.7569, allocations: 0 / 0.8643 GB, free: 0.7188 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.00253/0.7594, allocations: 1.374 MB / 0.8656 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.7595, allocations: 8.031 kB / 0.8656 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.7596, allocations: 147.8 kB / 0.8658 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.7614, allocations: 268 kB / 0.866 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.7627, allocations: 0.698 MB / 0.8667 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.963e-05/0.7627, allocations: 66 kB / 0.8668 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.7628, allocations: 95.98 kB / 0.8668 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.7644, allocations: 0.9457 MB / 0.8678 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.7645, allocations: 0 / 0.8678 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.7645, allocations: 47.88 kB / 0.8678 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.7646, allocations: 20 kB / 0.8678 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.7664, allocations: 1.132 MB / 0.8689 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.7706, allocations: 2.493 MB / 0.8714 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.7721, allocations: 0.7022 MB / 0.8721 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005197/0.7726, allocations: 270 kB / 0.8723 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/0.7731, allocations: 84.62 kB / 0.8724 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008425/0.774, allocations: 435.3 kB / 0.8728 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.774, allocations: 0 / 0.8728 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003155/0.7771, allocations: 1.03 MB / 0.8738 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.7772, allocations: 188.6 kB / 0.874 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.7781, allocations: 0.6254 MB / 0.8746 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.7782, allocations: 37.7 kB / 0.8746 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.7785, allocations: 420.8 kB / 0.875 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.7788, allocations: 253.8 kB / 0.8753 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.779, allocations: 146.2 kB / 0.8754 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.7792, allocations: 378.7 kB / 0.8758 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.7796, allocations: 225.2 kB / 0.876 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.7802, allocations: 330.7 kB / 0.8763 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.7813, allocations: 0.5433 MB / 0.8769 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7813, allocations: 0 / 0.8769 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001875/0.7832, allocations: 0.7357 MB / 0.8776 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.7832, allocations: 4 kB / 0.8776 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.7832, allocations: 0 / 0.8776 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006273/0.7838, allocations: 88.8 kB / 0.8777 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.7845, allocations: 135.8 kB / 0.8778 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.7866, allocations: 1.529 MB / 0.8793 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/0.7873, allocations: 87.61 kB / 0.8794 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.7873, allocations: 23.98 kB / 0.8794 GB, free: 0.7734 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0004656/0.7878, allocations: 263.8 kB / 0.8796 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.788, allocations: 83.42 kB / 0.8797 GB, free: 436 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.7903, allocations: 0.9961 MB / 0.8807 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.7903, allocations: 11.94 kB / 0.8807 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.7903, allocations: 4 kB / 0.8807 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.7904, allocations: 15.94 kB / 0.8807 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/0.7939, allocations: 1.88 MB / 0.8826 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.7939, allocations: 3.984 kB / 0.8826 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005969/0.7945, allocations: 143.8 kB / 0.8827 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/0.7949, allocations: 76.78 kB / 0.8828 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/0.795, allocations: 19.98 kB / 0.8828 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.797, allocations: 1.558 MB / 0.8843 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.797, allocations: 0 / 0.8843 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.799, allocations: 0.9281 MB / 0.8852 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.7994, allocations: 183.2 kB / 0.8854 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.7996, allocations: 23.98 kB / 0.8854 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.8001, allocations: 51.95 kB / 0.8855 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.8003, allocations: 64.88 kB / 0.8855 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/0.8003, allocations: 27.98 kB / 0.8856 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006425/0.801, allocations: 463 kB / 0.886 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.801, allocations: 0 / 0.886 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009153/0.8019, allocations: 319.1 kB / 0.8863 GB, free: 9.48 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004255/0.8062, allocations: 1.996 MB / 0.8882 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.8078, allocations: 0.7159 MB / 0.8889 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.8078, allocations: 0 / 0.8889 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009151/0.8088, allocations: 472.4 kB / 0.8894 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.81, allocations: 294.7 kB / 0.8897 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.8217, allocations: 6.135 MB / 0.8957 GB, free: 15.97 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/0.8224, allocations: 1.023 MB / 0.8967 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008062/0.8232, allocations: 258.3 kB / 0.8969 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.8237, allocations: 387.3 kB / 0.8973 GB, free: 14.28 MB / 0.67 GB Notification: Performance of SimCode: time 9.22e-07/0.8237, allocations: 3.938 kB / 0.8973 GB, free: 14.27 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06121/0.8849, allocations: 21.35 MB / 0.9181 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.65, allocations: 4.062 kB / 0.9181 GB, free: 9.078 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.53401223199762] Failed to read output from testmodel.py, exit status != 0: 14.87993867300247 14.905887573 14.144253618 Calling exit ...