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.0007985/0.0007985, 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.001101/0.001101, allocations: 209.2 kB / 22.24 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.9649/0.9649, 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.7645/0.7645, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.001488/0.001488, allocations: 70.25 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5115, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.03402/0.5455, allocations: 40.21 MB / 0.8571 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009277/0.5548, allocations: 6.846 MB / 0.8637 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.5567, allocations: 55.06 kB / 0.8638 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.5583, allocations: 0.5053 MB / 0.8643 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.5631, allocations: 1.472 MB / 0.8657 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.5658, allocations: 1.112 MB / 0.8668 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003803/0.5696, allocations: 2.56 MB / 0.8693 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.5706, allocations: 0.6931 MB / 0.87 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.5736, allocations: 1.47 MB / 0.8714 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.5749, allocations: 0.6696 MB / 0.8721 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.5751, allocations: 82.69 kB / 0.8722 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.5767, allocations: 0.65 MB / 0.8728 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.5769, allocations: 238 kB / 0.873 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006172/0.5775, allocations: 419.9 kB / 0.8734 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.5801, allocations: 1.533 MB / 0.8749 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5802, allocations: 1.531 kB / 0.8749 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.326e-06/0.5802, allocations: 0 / 0.8749 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.809e-05/0.5802, allocations: 0 / 0.8749 GB, free: 7.895 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.002236/0.5824, allocations: 1.312 MB / 0.8762 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5825, allocations: 9.188 kB / 0.8762 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.5826, allocations: 118.4 kB / 0.8763 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.5829, allocations: 117.7 kB / 0.8764 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.584, allocations: 0.6854 MB / 0.8771 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.584, allocations: 59.88 kB / 0.8772 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.5841, allocations: 72.05 kB / 0.8772 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.5854, allocations: 0.9388 MB / 0.8781 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.5854, allocations: 4.938 kB / 0.8781 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/0.5855, allocations: 27.91 kB / 0.8782 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.5855, allocations: 16.53 kB / 0.8782 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009186/0.5864, allocations: 0.5903 MB / 0.8788 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.5899, allocations: 3.21 MB / 0.8819 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.5907, allocations: 355 kB / 0.8822 GB, free: 2.168 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.591, allocations: 220.2 kB / 0.8824 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.5913, allocations: 116.3 kB / 0.8826 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005008/0.5918, allocations: 405.4 kB / 0.8829 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 3.136e-06/0.5918, allocations: 3.938 kB / 0.8829 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.001297/0.5931, allocations: 0.7023 MB / 0.8836 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.5931, allocations: 64.75 kB / 0.8837 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007932/0.5939, allocations: 0.7284 MB / 0.8844 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.594, allocations: 39.11 kB / 0.8844 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.5943, allocations: 461.8 kB / 0.8849 GB, free: 420 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.121e-05/0.5944, allocations: 138.9 kB / 0.885 GB, free: 296 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.5945, allocations: 138.2 kB / 0.8851 GB, free: 152 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.5946, allocations: 326 kB / 0.8855 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.5949, allocations: 268.5 kB / 0.8857 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.5955, allocations: 0.7738 MB / 0.8865 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007131/0.5962, allocations: 0.6664 MB / 0.8871 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5962, allocations: 0 / 0.8871 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00133/0.5975, allocations: 0.8325 MB / 0.8879 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.5976, allocations: 68.09 kB / 0.888 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5976, allocations: 4 kB / 0.888 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.5976, allocations: 19.98 kB / 0.888 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.5979, allocations: 135.7 kB / 0.8882 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.5979, allocations: 8 kB / 0.8882 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.5984, allocations: 99.45 kB / 0.8883 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.5985, allocations: 39.98 kB / 0.8883 GB, free: 12.61 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.0003083/0.5988, allocations: 253.6 kB / 0.8885 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.5989, allocations: 91.42 kB / 0.8886 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.6002, allocations: 1.136 MB / 0.8897 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.6002, allocations: 15.92 kB / 0.8897 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6002, allocations: 0 / 0.8897 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.6002, allocations: 3.984 kB / 0.8898 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.6022, allocations: 1.842 MB / 0.8915 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.6022, allocations: 4.031 kB / 0.8916 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.6024, allocations: 107.8 kB / 0.8917 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.6024, allocations: 4 kB / 0.8917 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.6024, allocations: 19.98 kB / 0.8917 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.6024, allocations: 8 kB / 0.8917 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6024, allocations: 3.938 kB / 0.8917 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.6039, allocations: 1.447 MB / 0.8931 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.6042, allocations: 187 kB / 0.8933 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.6043, allocations: 24.06 kB / 0.8933 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.6045, allocations: 51.94 kB / 0.8934 GB, free: 7.266 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.6046, allocations: 72.31 kB / 0.8934 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.6046, allocations: 27.98 kB / 0.8934 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004182/0.6051, allocations: 0.4912 MB / 0.8939 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6051, allocations: 0 / 0.8939 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008462/0.6059, allocations: 343.1 kB / 0.8943 GB, free: 6.344 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.002465/0.6084, allocations: 2.297 MB / 0.8965 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.6094, allocations: 0.8095 MB / 0.8973 GB, free: 3.137 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6094, allocations: 0 / 0.8973 GB, free: 3.137 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.6099, allocations: 443.7 kB / 0.8977 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.611, allocations: 366.6 kB / 0.8981 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/0.6177, allocations: 6.847 MB / 0.9047 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.618, allocations: 437.7 kB / 0.9052 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004326/0.6184, allocations: 174.5 kB / 0.9053 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.6188, allocations: 351.3 kB / 0.9057 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/0.6188, allocations: 0 / 0.9057 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04457/0.6633, allocations: 29.07 MB / 0.9341 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/7.997, allocations: 4.062 kB / 0.9341 GB, free: 13.5 MB / 0.7136 GB " [Timeout remaining time 652] (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.03620948875323] Failed to read output from testmodel.py, exit status != 0: 8.09365375712514 8.106883522 7.52398003 Calling exit ...