Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007742/0.0007742, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0007886/0.0007886, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9223/0.9223, allocations: 230.6 MB / 256 MB, free: 9.586 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.7825/0.7825, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.0008862/0.0008862, allocations: 70.23 kB / 0.7182 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5269/0.5278, allocations: 102 MB / 0.8178 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004934/0.5327, allocations: 4.708 MB / 0.8224 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1331/0.6658, allocations: 132.7 MB / 0.952 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008489/0.6667, allocations: 23.81 kB / 0.952 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005839/0.6673, allocations: 214.1 kB / 0.9522 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.6689, allocations: 0.5879 MB / 0.9528 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.6706, allocations: 0.8696 MB / 0.9537 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.6721, allocations: 1.487 MB / 0.9551 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000645/0.6727, allocations: 454.4 kB / 0.9555 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007222/0.6734, allocations: 0.5451 MB / 0.9561 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008043/0.6742, allocations: 0.5092 MB / 0.9566 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.6744, allocations: 128 kB / 0.9567 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009431/0.6753, allocations: 0.4957 MB / 0.9572 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.6756, allocations: 331 kB / 0.9575 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.676, allocations: 0.5054 MB / 0.958 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.6776, allocations: 1.812 MB / 0.9598 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6776, allocations: 0 / 0.9598 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6776, allocations: 0 / 0.9598 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.402e-05/0.6777, allocations: 0 / 0.9598 GB, free: 3.66 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002231/0.6799, allocations: 1.5 MB / 0.9612 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.68, allocations: 16.02 kB / 0.9612 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.6801, allocations: 144.3 kB / 0.9614 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.6815, allocations: 375.8 kB / 0.9617 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.6825, allocations: 0.7451 MB / 0.9625 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.6826, allocations: 73.98 kB / 0.9625 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.6827, allocations: 96 kB / 0.9626 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.6843, allocations: 1.317 MB / 0.9639 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.6843, allocations: 4 kB / 0.9639 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/0.6843, allocations: 43.98 kB / 0.964 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.6844, allocations: 27.94 kB / 0.964 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.6857, allocations: 1.221 MB / 0.9652 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0029/0.6886, allocations: 2.404 MB / 0.9675 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.6902, allocations: 0.8988 MB / 0.9684 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.6906, allocations: 338.6 kB / 0.9687 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.952e-05/0.6907, allocations: 30.45 kB / 0.9688 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007477/0.6914, allocations: 0.6514 MB / 0.9694 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=84): time 2.425e-06/0.6914, allocations: 0 / 0.9694 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=84): time 0.002475/0.6939, allocations: 1.317 MB / 0.9707 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.694, allocations: 192.9 kB / 0.9709 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.6946, allocations: 0.6646 MB / 0.9715 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.6946, allocations: 41.7 kB / 0.9716 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.6949, allocations: 449 kB / 0.972 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.695, allocations: 281.5 kB / 0.9722 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.6952, allocations: 150.6 kB / 0.9724 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6953, allocations: 394.7 kB / 0.9728 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.6957, allocations: 305.8 kB / 0.9731 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.6962, allocations: 0.538 MB / 0.9736 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008679/0.6971, allocations: 0.6867 MB / 0.9743 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6971, allocations: 0 / 0.9743 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00134/0.6984, allocations: 0.9194 MB / 0.9752 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6985, allocations: 12.08 kB / 0.9752 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6985, allocations: 4 kB / 0.9752 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.6988, allocations: 76.78 kB / 0.9752 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.6992, allocations: 179.7 kB / 0.9754 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.7006, allocations: 1.529 MB / 0.9769 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.7011, allocations: 115.6 kB / 0.977 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.7011, allocations: 31.98 kB / 0.977 GB, free: 1.383 MB / 0.7448 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.0003565/0.7015, allocations: 277.5 kB / 0.9773 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.7016, allocations: 87.44 kB / 0.9774 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.7034, allocations: 1.21 MB / 0.9786 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.7034, allocations: 12 kB / 0.9786 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.7034, allocations: 3.938 kB / 0.9786 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.7035, allocations: 3.984 kB / 0.9786 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.7057, allocations: 2.003 MB / 0.9806 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.7057, allocations: 3.938 kB / 0.9806 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.7061, allocations: 171.8 kB / 0.9807 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002207/0.7063, allocations: 76.72 kB / 0.9808 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.7064, allocations: 31.97 kB / 0.9808 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.7075, allocations: 1.551 MB / 0.9823 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7075, allocations: 0 / 0.9823 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.7089, allocations: 1.131 MB / 0.9834 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.7092, allocations: 207.1 kB / 0.9836 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.641e-05/0.7093, allocations: 24 kB / 0.9837 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.7096, allocations: 79.91 kB / 0.9837 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.7098, allocations: 76.8 kB / 0.9838 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.7098, allocations: 43.97 kB / 0.9839 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004141/0.7102, allocations: 487 kB / 0.9843 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7102, allocations: 0 / 0.9843 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009732/0.7112, allocations: 347.1 kB / 0.9847 GB, free: 9.387 MB / 0.7605 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.002531/0.7137, allocations: 2.209 MB / 0.9868 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.715, allocations: 0.8976 MB / 0.9877 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.715, allocations: 8 kB / 0.9877 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006471/0.7157, allocations: 0.5548 MB / 0.9882 GB, free: 5.902 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007851/0.7165, allocations: 311.8 kB / 0.9885 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008114/0.7246, allocations: 6.824 MB / 0.9952 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.7249, allocations: 466.3 kB / 0.9956 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0006505/0.7256, allocations: 275.1 kB / 0.9959 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/0.726, allocations: 435.2 kB / 0.9963 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of SimCode: time 1.523e-06/0.726, allocations: 0 / 0.9963 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/0.7646, allocations: 24.68 MB / 1.02 GB, free: 4.992 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/9.002, allocations: 3.938 kB / 1.02 GB, free: 4.988 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.076143848709762] Failed to read output from testmodel.py, exit status != 0: 9.15598348993808 9.164744241 8.485310885 Calling exit ...