Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001424/0.001424, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.00155/0.00155, allocations: 217.8 kB / 22.26 MB, free: 5.082 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 8.027 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.8302/0.8302, allocations: 134 MB / 446.4 MB, free: 10.26 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.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_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.001971/0.001971, allocations: 69.78 kB / 0.6185 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1678, allocations: 85.9 MB / 0.7024 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006294/0.1741, allocations: 4.284 MB / 0.7066 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5678/0.742, allocations: 154 MB / 0.857 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009357/0.7429, allocations: 23.81 kB / 0.857 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008815/0.7438, allocations: 178.4 kB / 0.8572 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.7459, allocations: 493.1 kB / 0.8577 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.7485, allocations: 0.8585 MB / 0.8585 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001807/0.7503, allocations: 1.23 MB / 0.8597 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.7514, allocations: 0.51 MB / 0.8602 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009464/0.7523, allocations: 490.3 kB / 0.8607 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009046/0.7532, allocations: 0.4978 MB / 0.8612 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.7534, allocations: 116 kB / 0.8613 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.7546, allocations: 0.5125 MB / 0.8618 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.755, allocations: 299 kB / 0.8621 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.7555, allocations: 0.544 MB / 0.8626 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.7576, allocations: 1.64 MB / 0.8642 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7576, allocations: 4 kB / 0.8642 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7576, allocations: 0 / 0.8642 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.7576, allocations: 0 / 0.8642 GB, free: 0.9219 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.00265/0.7603, allocations: 1.389 MB / 0.8656 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.7603, allocations: 8.031 kB / 0.8656 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.7605, allocations: 143.9 kB / 0.8657 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.7629, allocations: 363.8 kB / 0.8661 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.7642, allocations: 0.6986 MB / 0.8667 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.7643, allocations: 66 kB / 0.8668 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.7644, allocations: 95.98 kB / 0.8669 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.7663, allocations: 1.003 MB / 0.8679 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.7663, allocations: 6.625 kB / 0.8679 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/0.7664, allocations: 36 kB / 0.8679 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.7664, allocations: 20 kB / 0.8679 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.7687, allocations: 1.225 MB / 0.8691 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/0.773, allocations: 2.494 MB / 0.8716 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.7754, allocations: 0.8276 MB / 0.8724 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/0.7761, allocations: 310.6 kB / 0.8727 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-05/0.7762, allocations: 28.59 kB / 0.8727 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.7772, allocations: 495.1 kB / 0.8732 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=75): time 2.294e-06/0.7772, allocations: 0 / 0.8732 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75): time 0.003664/0.7809, allocations: 1.166 MB / 0.8743 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.781, allocations: 188.6 kB / 0.8745 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009132/0.7819, allocations: 0.6215 MB / 0.8751 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/0.782, allocations: 41.7 kB / 0.8751 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.7824, allocations: 424.8 kB / 0.8755 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.7826, allocations: 261.8 kB / 0.8758 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.7828, allocations: 134.2 kB / 0.8759 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.7831, allocations: 382.7 kB / 0.8763 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.7838, allocations: 273.1 kB / 0.8765 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007914/0.7845, allocations: 370.8 kB / 0.8769 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.786, allocations: 0.6252 MB / 0.8775 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.786, allocations: 0 / 0.8775 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002297/0.7883, allocations: 0.8372 MB / 0.8783 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.7883, allocations: 8 kB / 0.8783 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.7883, allocations: 0 / 0.8783 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006408/0.7889, allocations: 88.8 kB / 0.8784 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/0.7897, allocations: 159.8 kB / 0.8786 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.7919, allocations: 1.527 MB / 0.8801 GB, free: 240 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007931/0.7927, allocations: 104.4 kB / 0.8802 GB, free: 136 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.7927, allocations: 27.98 kB / 0.8802 GB, free: 108 kB / 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 (78): * Single equations (assignments): 77 * 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.0005209/0.7933, allocations: 261.7 kB / 0.8804 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.7934, allocations: 83.48 kB / 0.8805 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.7962, allocations: 1.104 MB / 0.8816 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.7962, allocations: 11.94 kB / 0.8816 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7962, allocations: 3.938 kB / 0.8816 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.7962, allocations: 7.922 kB / 0.8816 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.8002, allocations: 2.016 MB / 0.8836 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.8002, allocations: 4 kB / 0.8836 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007329/0.801, allocations: 163.8 kB / 0.8837 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.8014, allocations: 72.78 kB / 0.8838 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/0.8015, allocations: 27.98 kB / 0.8838 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.8034, allocations: 1.566 MB / 0.8854 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8034, allocations: 0 / 0.8854 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.8059, allocations: 1.026 MB / 0.8864 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/0.8063, allocations: 195.1 kB / 0.8866 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.8064, allocations: 19.94 kB / 0.8866 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/0.8071, allocations: 75.92 kB / 0.8866 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.8073, allocations: 60.88 kB / 0.8867 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/0.8073, allocations: 31.98 kB / 0.8867 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006291/0.808, allocations: 459 kB / 0.8872 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.808, allocations: 0 / 0.8872 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008584/0.8088, allocations: 307.1 kB / 0.8875 GB, free: 8.434 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 (88): * Single equations (assignments): 85 * 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.00449/0.8133, allocations: 2.08 MB / 0.8895 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002047/0.8154, allocations: 0.8214 MB / 0.8903 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.8154, allocations: 4 kB / 0.8903 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.8164, allocations: 0.5041 MB / 0.8908 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.8176, allocations: 297.6 kB / 0.8911 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.83, allocations: 6.453 MB / 0.8974 GB, free: 14.36 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.8307, allocations: 1.023 MB / 0.8984 GB, free: 13.31 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008844/0.8315, allocations: 274.6 kB / 0.8986 GB, free: 13.04 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005755/0.8321, allocations: 391.3 kB / 0.899 GB, free: 12.65 MB / 0.67 GB Notification: Performance of SimCode: time 7.21e-07/0.8321, allocations: 0 / 0.899 GB, free: 12.65 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06166/0.8938, allocations: 21.68 MB / 0.9202 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.63, allocations: 13.83 kB / 0.9202 GB, free: 7.125 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.404902996997407] Failed to read output from testmodel.py, exit status != 0: 14.850438497000141 14.875883388 14.113636444 Calling exit ...