Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.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.0007886/0.0007886, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008241/0.0008241, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9478/0.9478, allocations: 230.6 MB / 256 MB, free: 9.816 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.82/0.82, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.Tap,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.Tap,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap",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.0009033/0.0009033, allocations: 65.67 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5159/0.5168, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.0309/0.5477, allocations: 44.37 MB / 0.8612 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.008026/0.5557, allocations: 7.37 MB / 0.8684 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008667/0.5566, allocations: 58.75 kB / 0.8684 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009686/0.5576, allocations: 0.494 MB / 0.8689 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.5605, allocations: 1.51 MB / 0.8704 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.5623, allocations: 1.163 MB / 0.8715 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002608/0.5649, allocations: 2.567 MB / 0.874 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007408/0.5657, allocations: 0.7108 MB / 0.8747 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.5677, allocations: 1.46 MB / 0.8762 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005947/0.5683, allocations: 0.7054 MB / 0.8768 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.603e-05/0.5684, allocations: 82.75 kB / 0.8769 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.5697, allocations: 0.8631 MB / 0.8778 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.5699, allocations: 238.5 kB / 0.878 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.5703, allocations: 0.5071 MB / 0.8785 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.5717, allocations: 1.564 MB / 0.88 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5718, allocations: 0 / 0.88 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5718, allocations: 0 / 0.88 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.5718, allocations: 3.938 kB / 0.88 GB, free: 2.773 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001528/0.5733, allocations: 1.316 MB / 0.8813 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5733, allocations: 10.44 kB / 0.8813 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.082e-05/0.5734, allocations: 108.4 kB / 0.8814 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.5736, allocations: 118.4 kB / 0.8815 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008763/0.5745, allocations: 0.6924 MB / 0.8822 GB, free: 1.047 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.5745, allocations: 56.72 kB / 0.8823 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/0.5746, allocations: 76.72 kB / 0.8823 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009716/0.5756, allocations: 0.8315 MB / 0.8831 GB, free: 420 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5756, allocations: 1.125 kB / 0.8831 GB, free: 420 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.5756, allocations: 31.94 kB / 0.8832 GB, free: 396 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.5756, allocations: 17.53 kB / 0.8832 GB, free: 396 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008671/0.5765, allocations: 0.5905 MB / 0.8838 GB, free: 104 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.5794, allocations: 3.944 MB / 0.8876 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008037/0.5802, allocations: 365.1 kB / 0.888 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.5806, allocations: 220.3 kB / 0.8882 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003379/0.5809, allocations: 113.4 kB / 0.8883 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005279/0.5814, allocations: 294.7 kB / 0.8886 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 3.306e-06/0.5814, allocations: 5.156 kB / 0.8886 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.00118/0.5826, allocations: 0.7021 MB / 0.8893 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.5827, allocations: 65 kB / 0.8893 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008787/0.5835, allocations: 0.7259 MB / 0.89 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.5836, allocations: 38.92 kB / 0.8901 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.5838, allocations: 454.3 kB / 0.8905 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.5839, allocations: 135.9 kB / 0.8906 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.5841, allocations: 135.6 kB / 0.8908 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.5842, allocations: 331.5 kB / 0.8911 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.5845, allocations: 213.9 kB / 0.8913 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.585, allocations: 428.6 kB / 0.8917 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.5857, allocations: 0.6464 MB / 0.8923 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5857, allocations: 0 / 0.8923 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009022/0.5866, allocations: 0.7823 MB / 0.8931 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.5866, allocations: 65.58 kB / 0.8931 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.5867, allocations: 4.75 kB / 0.8931 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.5867, allocations: 12 kB / 0.8932 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.5869, allocations: 135.7 kB / 0.8933 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.5869, allocations: 19.92 kB / 0.8933 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.5873, allocations: 103.5 kB / 0.8934 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.5873, allocations: 35.98 kB / 0.8934 GB, free: 7.836 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2,DHWDisCom1_Kh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0002197/0.5875, allocations: 253.6 kB / 0.8937 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.5876, allocations: 91.38 kB / 0.8938 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.5889, allocations: 1.136 MB / 0.8949 GB, free: 6.34 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.5889, allocations: 15.94 kB / 0.8949 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5889, allocations: 3.984 kB / 0.8949 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5889, allocations: 0 / 0.8949 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.5907, allocations: 1.92 MB / 0.8968 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.5907, allocations: 4 kB / 0.8968 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.5909, allocations: 100.2 kB / 0.8969 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.5909, allocations: 8 kB / 0.8969 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.5909, allocations: 23.92 kB / 0.8969 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.5909, allocations: 11.94 kB / 0.8969 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.5909, allocations: 7.984 kB / 0.8969 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.5924, allocations: 1.454 MB / 0.8983 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.5926, allocations: 183 kB / 0.8985 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.5927, allocations: 24.05 kB / 0.8985 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.5929, allocations: 51.94 kB / 0.8986 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/0.593, allocations: 76.27 kB / 0.8987 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.593, allocations: 27.98 kB / 0.8987 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003716/0.5934, allocations: 0.4951 MB / 0.8992 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5934, allocations: 0 / 0.8992 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006853/0.5941, allocations: 335.1 kB / 0.8995 GB, free: 1.477 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * 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.001995/0.5961, allocations: 2.289 MB / 0.9017 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008508/0.5969, allocations: 0.7556 MB / 0.9025 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.597, allocations: 4 kB / 0.9025 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005227/0.5975, allocations: 435.5 kB / 0.9029 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009306/0.5984, allocations: 371.4 kB / 0.9032 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00616/0.6046, allocations: 6.627 MB / 0.9097 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.6049, allocations: 1.026 MB / 0.9107 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003444/0.6053, allocations: 166.5 kB / 0.9109 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/0.6057, allocations: 355.3 kB / 0.9112 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/0.6057, allocations: 0 / 0.9112 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/0.6429, allocations: 27.7 MB / 0.9383 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.49, allocations: 16.58 kB / 0.9383 GB, free: 9.586 MB / 0.7136 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap_res.csv --start-time 0 --stop-time 259200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 103.68 IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.606208147015423] Failed to read output from testmodel.py, exit status != 0: 8.580280129797757 8.589728868 8.016150357 Calling exit ...