Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.002283/0.002283, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.001402/0.001402, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9363/0.9363, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7805/0.7805, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_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.00106/0.00106, allocations: 68.72 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4915, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004733/0.4962, allocations: 4.704 MB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1366/0.6328, allocations: 132.8 MB / 0.9521 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008767/0.6337, allocations: 23.81 kB / 0.9521 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.6342, allocations: 206.1 kB / 0.9523 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.6358, allocations: 0.5982 MB / 0.9529 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.6375, allocations: 0.8819 MB / 0.9537 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.6386, allocations: 1.471 MB / 0.9552 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005785/0.6392, allocations: 456.6 kB / 0.9556 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005475/0.6398, allocations: 0.5451 MB / 0.9561 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004497/0.6402, allocations: 0.5053 MB / 0.9566 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.6403, allocations: 128 kB / 0.9567 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008471/0.6412, allocations: 0.4996 MB / 0.9572 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.6414, allocations: 323 kB / 0.9575 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005772/0.642, allocations: 0.5053 MB / 0.958 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.6435, allocations: 1.816 MB / 0.9598 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6435, allocations: 8 kB / 0.9598 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6435, allocations: 0 / 0.9598 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.6435, allocations: 0 / 0.9598 GB, free: 3.75 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.001712/0.6452, allocations: 1.493 MB / 0.9613 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.6453, allocations: 8.031 kB / 0.9613 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.6454, allocations: 148.2 kB / 0.9614 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005146/0.6506, allocations: 1.803 MB / 0.9632 GB, free: 264 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.6518, allocations: 0.7647 MB / 0.9639 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.6519, allocations: 73.98 kB / 0.964 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.652, allocations: 92 kB / 0.9641 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/0.6557, allocations: 2.133 MB / 0.9662 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.6557, allocations: 0 / 0.9662 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/0.6558, allocations: 36 kB / 0.9662 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.6558, allocations: 24 kB / 0.9662 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005049/0.6608, allocations: 2.759 MB / 0.9689 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006468/0.6673, allocations: 4.663 MB / 0.9735 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/0.6703, allocations: 1.61 MB / 0.9751 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.6725, allocations: 1.1 MB / 0.9761 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.6725, allocations: 24.62 kB / 0.9762 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002587/0.6751, allocations: 1.452 MB / 0.9776 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.6751, allocations: 0 / 0.9776 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.007752/0.6829, allocations: 3.48 MB / 0.981 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/0.683, allocations: 192.6 kB / 0.9812 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007385/0.6837, allocations: 0.6646 MB / 0.9818 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.629e-05/0.6838, allocations: 45.69 kB / 0.9818 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.6841, allocations: 440.9 kB / 0.9823 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.6842, allocations: 277.6 kB / 0.9825 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.6845, allocations: 154.6 kB / 0.9827 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6846, allocations: 390.8 kB / 0.983 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.6868, allocations: 1.064 MB / 0.9841 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/0.6893, allocations: 1.299 MB / 0.9854 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003948/0.6932, allocations: 1.973 MB / 0.9873 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6932, allocations: 0 / 0.9873 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004975/0.6982, allocations: 2.325 MB / 0.9896 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6982, allocations: 8 kB / 0.9896 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.6982, allocations: 0 / 0.9896 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003436/0.6986, allocations: 84.86 kB / 0.9896 GB, free: 4.121 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.6998, allocations: 491.5 kB / 0.9901 GB, free: 3.641 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.7012, allocations: 1.519 MB / 0.9916 GB, free: 2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.7026, allocations: 407.3 kB / 0.992 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.7026, allocations: 39.97 kB / 0.992 GB, free: 1.562 MB / 0.7605 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 (88): * Single equations (assignments): 87 * 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.000449/0.7031, allocations: 269.6 kB / 0.9923 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004096/0.7035, allocations: 95.44 kB / 0.9924 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/0.7088, allocations: 2.658 MB / 0.995 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.7088, allocations: 12 kB / 0.995 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.7088, allocations: 0 / 0.995 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.7088, allocations: 3.984 kB / 0.995 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006902/0.7157, allocations: 4.231 MB / 0.9991 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.7157, allocations: 0 / 0.9991 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.7169, allocations: 479.5 kB / 0.9996 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/0.7172, allocations: 76.72 kB / 0.9996 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.7172, allocations: 31.97 kB / 0.9997 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.7185, allocations: 1.543 MB / 1.001 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7185, allocations: 0 / 1.001 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005164/0.7236, allocations: 2.528 MB / 1.004 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005832/0.7242, allocations: 239 kB / 1.004 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.7244, allocations: 20 kB / 1.004 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.7256, allocations: 386.1 kB / 1.004 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.7258, allocations: 76.8 kB / 1.004 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/0.7258, allocations: 39.97 kB / 1.004 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004938/0.7263, allocations: 487 kB / 1.005 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7263, allocations: 0 / 1.005 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008202/0.7271, allocations: 379 kB / 1.005 GB, free: 3.535 MB / 0.7761 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 (93): * Single equations (assignments): 87 * 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.006993/0.7341, allocations: 3.602 MB / 1.009 GB, free: 152 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005198/0.7393, allocations: 2.42 MB / 1.011 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7393, allocations: 0 / 1.011 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002506/0.7418, allocations: 1.316 MB / 1.012 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7428, allocations: 307.2 kB / 1.013 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/0.7631, allocations: 11.3 MB / 1.024 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.7635, allocations: 461.6 kB / 1.024 GB, free: 168 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0009234/0.7644, allocations: 311 kB / 1.024 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005711/0.765, allocations: 431.2 kB / 1.025 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of SimCode: time 1.152e-06/0.765, allocations: 0 / 1.025 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04507/0.8101, allocations: 26.69 MB / 1.051 GB, free: 4.953 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.51/9.32, allocations: 7.875 kB / 1.051 GB, free: 4.945 MB / 0.823 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.42178318137303] Failed to read output from testmodel.py, exit status != 0: 9.474131727591157 9.483162718 8.837783774 Calling exit ...