Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.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.001095/0.001095, allocations: 101.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.001264/0.001264, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9445/0.9445, allocations: 230.6 MB / 256 MB, free: 9.582 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.7598/0.7598, 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.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example",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.0009276/0.0009276, allocations: 66.36 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4561, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.02949/0.4856, allocations: 38.81 MB / 0.8557 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01126/0.4969, allocations: 10.41 MB / 0.8659 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009631/0.4979, allocations: 69.34 kB / 0.8659 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.4989, allocations: 0.566 MB / 0.8665 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.5012, allocations: 1.487 MB / 0.8679 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.503, allocations: 1.33 MB / 0.8692 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002024/0.505, allocations: 2.705 MB / 0.8719 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000852/0.5059, allocations: 0.8372 MB / 0.8727 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.5078, allocations: 1.268 MB / 0.8739 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008275/0.5087, allocations: 0.7893 MB / 0.8747 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.5088, allocations: 111.2 kB / 0.8748 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.5099, allocations: 0.6638 MB / 0.8754 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.5101, allocations: 281.3 kB / 0.8757 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.5105, allocations: 0.4945 MB / 0.8762 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.5123, allocations: 1.92 MB / 0.8781 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5123, allocations: 5.172 kB / 0.8781 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5123, allocations: 0 / 0.8781 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.914e-05/0.5123, allocations: 4 kB / 0.8781 GB, free: 5.613 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.001762/0.5141, allocations: 1.489 MB / 0.8795 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5141, allocations: 12.7 kB / 0.8795 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.5143, allocations: 129.5 kB / 0.8797 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009986/0.5153, allocations: 335.6 kB / 0.88 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.5167, allocations: 0.8975 MB / 0.8809 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.5167, allocations: 58.59 kB / 0.8809 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.5168, allocations: 79.8 kB / 0.881 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.5182, allocations: 1.138 MB / 0.8821 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.5183, allocations: 1.125 kB / 0.8821 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.5183, allocations: 33 kB / 0.8821 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.5183, allocations: 18.94 kB / 0.8822 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.5198, allocations: 0.8229 MB / 0.883 GB, free: 2.176 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.5231, allocations: 3.392 MB / 0.8863 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.5241, allocations: 0.5741 MB / 0.8868 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.5247, allocations: 297.4 kB / 0.8871 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003254/0.525, allocations: 120.2 kB / 0.8872 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006161/0.5256, allocations: 0.5292 MB / 0.8878 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 1.653e-06/0.5256, allocations: 0 / 0.8878 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of matching and sorting (n=47): time 0.001593/0.5272, allocations: 0.9767 MB / 0.8887 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.5273, allocations: 110.8 kB / 0.8888 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007501/0.528, allocations: 0.8987 MB / 0.8897 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.528, allocations: 37.7 kB / 0.8897 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.5283, allocations: 0.4887 MB / 0.8902 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.5284, allocations: 174.5 kB / 0.8904 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.5286, allocations: 134.2 kB / 0.8905 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.5287, allocations: 334 kB / 0.8908 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.5292, allocations: 326.8 kB / 0.8911 GB, free: 10 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.5298, allocations: 0.6311 MB / 0.8917 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.5308, allocations: 0.778 MB / 0.8925 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.5308, allocations: 4 kB / 0.8925 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001247/0.5321, allocations: 0.9478 MB / 0.8934 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.5321, allocations: 49.78 kB / 0.8935 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5321, allocations: 4 kB / 0.8935 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.5321, allocations: 11.94 kB / 0.8935 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.5327, allocations: 199.6 kB / 0.8937 GB, free: 7.164 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.5327, allocations: 8 kB / 0.8937 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.5331, allocations: 127.3 kB / 0.8938 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.5331, allocations: 39.97 kB / 0.8939 GB, free: 6.992 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002458/0.5334, allocations: 265.6 kB / 0.8941 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.5335, allocations: 111.3 kB / 0.8942 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.5349, allocations: 1.094 MB / 0.8953 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.5349, allocations: 12.03 kB / 0.8953 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5349, allocations: 4 kB / 0.8953 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.5349, allocations: 3.984 kB / 0.8953 GB, free: 5.508 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.5371, allocations: 1.928 MB / 0.8972 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.5371, allocations: 0 / 0.8972 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.5375, allocations: 147.8 kB / 0.8973 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5375, allocations: 4 kB / 0.8973 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.5375, allocations: 19.98 kB / 0.8973 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.5375, allocations: 11.92 kB / 0.8974 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5375, allocations: 4.156 kB / 0.8974 GB, free: 3.336 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.5392, allocations: 1.482 MB / 0.8988 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.5395, allocations: 215 kB / 0.899 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.5396, allocations: 8 kB / 0.899 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.5399, allocations: 71.97 kB / 0.8991 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.54, allocations: 52.23 kB / 0.8991 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.54, allocations: 27.97 kB / 0.8992 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005301/0.5406, allocations: 0.6343 MB / 0.8998 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5406, allocations: 0 / 0.8998 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007196/0.5413, allocations: 379.1 kB / 0.9001 GB, free: 448 kB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002994/0.5443, allocations: 2.658 MB / 0.9027 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.5454, allocations: 0.8085 MB / 0.9035 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5454, allocations: 8.062 kB / 0.9035 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005359/0.5459, allocations: 390.2 kB / 0.9039 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.5471, allocations: 495.2 kB / 0.9044 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009985/0.5571, allocations: 8.517 MB / 0.9127 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.5574, allocations: 459.5 kB / 0.9131 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005001/0.5579, allocations: 219.8 kB / 0.9134 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/0.5583, allocations: 407.3 kB / 0.9137 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of SimCode: time 6.31e-07/0.5583, allocations: 0 / 0.9137 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03971/0.598, allocations: 33.27 MB / 0.9462 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.368, allocations: 3.984 kB / 0.9462 GB, free: 1.395 MB / 0.7136 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.29501840705052] Failed to read output from testmodel.py, exit status != 0: 8.481084899045527 8.488899311 7.974800339 Calling exit ...