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.0008392/0.0008392, allocations: 105.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.00086/0.00086, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.9888/0.9888, allocations: 230.6 MB / 256 MB, free: 9.824 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.8378/0.8378, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.001208/0.001208, allocations: 61.62 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5045, allocations: 102 MB / 0.8178 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.03164/0.5361, allocations: 44.37 MB / 0.8612 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00798/0.5441, allocations: 7.365 MB / 0.8684 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009882/0.5451, allocations: 63.41 kB / 0.8684 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.5464, allocations: 0.4897 MB / 0.8689 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.5491, allocations: 1.51 MB / 0.8704 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.5513, allocations: 1.163 MB / 0.8715 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002476/0.5537, allocations: 2.57 MB / 0.874 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008252/0.5546, allocations: 0.7112 MB / 0.8747 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.5567, allocations: 1.456 MB / 0.8762 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/0.5573, allocations: 0.7096 MB / 0.8768 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.5574, allocations: 81.41 kB / 0.8769 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.5589, allocations: 0.8718 MB / 0.8778 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.5591, allocations: 226.8 kB / 0.878 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003992/0.5595, allocations: 0.5105 MB / 0.8785 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.5611, allocations: 1.56 MB / 0.88 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5611, allocations: 0 / 0.88 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5611, allocations: 0 / 0.88 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.5611, allocations: 1.094 kB / 0.88 GB, free: 2.77 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.001637/0.5627, allocations: 1.316 MB / 0.8813 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.5628, allocations: 9.031 kB / 0.8813 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.5629, allocations: 108.8 kB / 0.8814 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.5631, allocations: 121.7 kB / 0.8815 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009134/0.564, allocations: 0.6972 MB / 0.8822 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.564, allocations: 56.25 kB / 0.8823 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.96e-05/0.5641, allocations: 76.41 kB / 0.8823 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.5652, allocations: 0.8326 MB / 0.8831 GB, free: 408 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.5652, allocations: 1.062 kB / 0.8831 GB, free: 408 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.5652, allocations: 31.5 kB / 0.8832 GB, free: 384 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.5653, allocations: 21.19 kB / 0.8832 GB, free: 380 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.5663, allocations: 0.5871 MB / 0.8838 GB, free: 92 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.5691, allocations: 3.941 MB / 0.8876 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.5698, allocations: 364.7 kB / 0.888 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.5701, allocations: 223.3 kB / 0.8882 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.5703, allocations: 110.6 kB / 0.8883 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004309/0.5707, allocations: 298.5 kB / 0.8886 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 1.944e-06/0.5707, allocations: 0 / 0.8886 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.001092/0.5718, allocations: 0.7036 MB / 0.8893 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.5719, allocations: 64.66 kB / 0.8893 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.5725, allocations: 0.7262 MB / 0.89 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.5725, allocations: 38.05 kB / 0.8901 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.5728, allocations: 459.3 kB / 0.8905 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.5729, allocations: 135.6 kB / 0.8906 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.573, allocations: 135.9 kB / 0.8908 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.5731, allocations: 331.3 kB / 0.8911 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.5734, allocations: 213.3 kB / 0.8913 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.5738, allocations: 422.5 kB / 0.8917 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/0.5745, allocations: 0.6459 MB / 0.8923 GB, free: 8.984 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.5745, allocations: 4 kB / 0.8923 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001036/0.5756, allocations: 0.7822 MB / 0.8931 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.5756, allocations: 61.75 kB / 0.8931 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5756, allocations: 8.75 kB / 0.8931 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5756, allocations: 8 kB / 0.8932 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.5759, allocations: 143.7 kB / 0.8933 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.5759, allocations: 11.94 kB / 0.8933 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.5762, allocations: 103.5 kB / 0.8934 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.5763, allocations: 35.98 kB / 0.8934 GB, free: 7.805 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.0002064/0.5765, allocations: 257.5 kB / 0.8937 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/0.5765, allocations: 87.44 kB / 0.8938 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.5777, allocations: 1.136 MB / 0.8949 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.5778, allocations: 15.92 kB / 0.8949 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5778, allocations: 0 / 0.8949 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5778, allocations: 3.984 kB / 0.8949 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.5795, allocations: 1.92 MB / 0.8968 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5795, allocations: 4 kB / 0.8968 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.5797, allocations: 104.2 kB / 0.8969 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.5797, allocations: 8 kB / 0.8969 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.5797, allocations: 19.98 kB / 0.8969 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.5797, allocations: 15.88 kB / 0.8969 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5798, allocations: 4 kB / 0.8969 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.5811, allocations: 1.447 MB / 0.8983 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.5813, allocations: 195.1 kB / 0.8985 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.5814, allocations: 16 kB / 0.8985 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.5816, allocations: 51.94 kB / 0.8986 GB, free: 2.371 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.5817, allocations: 72.27 kB / 0.8987 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.5818, allocations: 35.97 kB / 0.8987 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003759/0.5822, allocations: 499 kB / 0.8992 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/0.5822, allocations: 0 / 0.8992 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008308/0.583, allocations: 343.1 kB / 0.8995 GB, free: 1.445 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.002037/0.585, allocations: 2.289 MB / 0.9017 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008618/0.5859, allocations: 0.7595 MB / 0.9025 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5859, allocations: 0 / 0.9025 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.5864, allocations: 427.5 kB / 0.9029 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009531/0.5873, allocations: 375.1 kB / 0.9032 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006287/0.5936, allocations: 6.627 MB / 0.9097 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.594, allocations: 1.022 MB / 0.9107 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003343/0.5944, allocations: 170.5 kB / 0.9109 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.5946, allocations: 351.3 kB / 0.9112 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/0.5946, allocations: 0 / 0.9112 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03946/0.6341, allocations: 27.72 MB / 0.9383 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.481, allocations: 6.125 kB / 0.9383 GB, free: 9.551 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap_fmu --startTime=0 --stopTime=259200 --stepSize=103.68 --timeout=50 --tolerance=1e-06 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.583326328080148] Failed to read output from testmodel.py, exit status != 0: 8.573240284109488 8.586244257 8.022565176 Calling exit ...