Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007435/0.0007435, 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.0007823/0.0007823, allocations: 208.1 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.9214/0.9214, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7897/0.7897, allocations: 203.5 MB / 0.5039 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 4.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.Fluid.Taps.Examples.Tap,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_Tap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.Tap,fileNamePrefix="IDEAS_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.0009096/0.0009096, allocations: 70.64 kB / 0.7178 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4929, allocations: 102 MB / 0.8174 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.03298/0.5259, allocations: 40.21 MB / 0.8566 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01035/0.5363, allocations: 6.845 MB / 0.8633 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.5385, allocations: 58.97 kB / 0.8634 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.5401, allocations: 0.4978 MB / 0.8639 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004362/0.5444, allocations: 1.473 MB / 0.8653 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.547, allocations: 1.117 MB / 0.8664 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00332/0.5503, allocations: 2.552 MB / 0.8689 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.5513, allocations: 0.6979 MB / 0.8696 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/0.5541, allocations: 1.473 MB / 0.871 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.5552, allocations: 0.6711 MB / 0.8717 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.5554, allocations: 81.81 kB / 0.8717 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.5568, allocations: 0.6467 MB / 0.8724 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.557, allocations: 234.2 kB / 0.8726 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004241/0.5574, allocations: 420.6 kB / 0.873 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.5593, allocations: 1.528 MB / 0.8745 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5593, allocations: 0 / 0.8745 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5593, allocations: 0 / 0.8745 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.638e-05/0.5593, allocations: 1.562 kB / 0.8745 GB, free: 8.242 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.001843/0.5612, allocations: 1.315 MB / 0.8758 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.5612, allocations: 14.14 kB / 0.8758 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.5613, allocations: 108.9 kB / 0.8759 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.5615, allocations: 117.7 kB / 0.876 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000964/0.5625, allocations: 0.6931 MB / 0.8767 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/0.5626, allocations: 65.14 kB / 0.8767 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.5626, allocations: 75.16 kB / 0.8768 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.5637, allocations: 0.9303 MB / 0.8777 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.5637, allocations: 1.125 kB / 0.8777 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.5638, allocations: 32.88 kB / 0.8778 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.5638, allocations: 21.05 kB / 0.8778 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008998/0.5647, allocations: 0.5895 MB / 0.8783 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/0.5676, allocations: 3.21 MB / 0.8815 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009794/0.5685, allocations: 361.6 kB / 0.8818 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.5689, allocations: 220 kB / 0.882 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.5692, allocations: 116 kB / 0.8821 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000488/0.5696, allocations: 405.8 kB / 0.8825 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 2.836e-06/0.5696, allocations: 1 kB / 0.8825 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.001303/0.5709, allocations: 0.6988 MB / 0.8832 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.571, allocations: 60.38 kB / 0.8833 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/0.5717, allocations: 0.7321 MB / 0.884 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.5717, allocations: 39.09 kB / 0.884 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.572, allocations: 461.8 kB / 0.8845 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.129e-05/0.572, allocations: 128.2 kB / 0.8846 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.5722, allocations: 140.4 kB / 0.8847 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.5723, allocations: 327.8 kB / 0.885 GB, free: 236 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.5726, allocations: 270.8 kB / 0.8853 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.5732, allocations: 0.7777 MB / 0.8861 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/0.5738, allocations: 0.6508 MB / 0.8867 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5738, allocations: 0 / 0.8867 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009571/0.5748, allocations: 0.8447 MB / 0.8875 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.5748, allocations: 63.39 kB / 0.8876 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.5749, allocations: 8 kB / 0.8876 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.5749, allocations: 8 kB / 0.8876 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.5751, allocations: 135.7 kB / 0.8877 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.5751, allocations: 11.94 kB / 0.8877 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.5756, allocations: 111.6 kB / 0.8878 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.5756, allocations: 35.98 kB / 0.8879 GB, free: 13.02 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.0002356/0.5759, allocations: 245.6 kB / 0.8881 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/0.5759, allocations: 87.44 kB / 0.8882 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.5772, allocations: 1.132 MB / 0.8893 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.5773, allocations: 19.92 kB / 0.8893 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.5773, allocations: 4 kB / 0.8893 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5773, allocations: 3.984 kB / 0.8893 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.5794, allocations: 1.85 MB / 0.8911 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5794, allocations: 0 / 0.8911 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.5796, allocations: 103.9 kB / 0.8912 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.5796, allocations: 4 kB / 0.8912 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.5796, allocations: 19.98 kB / 0.8913 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.5796, allocations: 12.31 kB / 0.8913 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5797, allocations: 8 kB / 0.8913 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.5811, allocations: 1.447 MB / 0.8927 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.5813, allocations: 187 kB / 0.8929 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.5814, allocations: 16 kB / 0.8929 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.5817, allocations: 51.94 kB / 0.8929 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.5818, allocations: 76.25 kB / 0.893 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.5818, allocations: 31.98 kB / 0.893 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004205/0.5822, allocations: 0.4952 MB / 0.8935 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5822, allocations: 3.938 kB / 0.8935 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008954/0.5831, allocations: 339.1 kB / 0.8938 GB, free: 6.754 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.002315/0.5854, allocations: 2.295 MB / 0.8961 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.5867, allocations: 0.8097 MB / 0.8969 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5868, allocations: 0 / 0.8969 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.5873, allocations: 439.2 kB / 0.8973 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.5885, allocations: 366.2 kB / 0.8976 GB, free: 2.781 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007672/0.5962, allocations: 6.847 MB / 0.9043 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.5965, allocations: 433.7 kB / 0.9047 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004598/0.5969, allocations: 158.5 kB / 0.9049 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.5972, allocations: 355.3 kB / 0.9052 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/0.5972, allocations: 0 / 0.9052 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04089/0.6381, allocations: 29.09 MB / 0.9336 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/8.076, allocations: 20.41 kB / 0.9337 GB, free: 13.9 MB / 0.7136 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.Tap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Taps_Examples_Tap_fmu --startTime=0 --stopTime=259200 --stepSize=103.68 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Taps_Examples_Tap.fmu > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.941000942140818] Failed to read output from testmodel.py, exit status != 0: 8.169777535367757 8.180319159 7.618700422 Calling exit ...