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.0007568/0.0007568, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00129/0.00129, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.8898/0.8898, allocations: 177.1 MB / 202.7 MB, free: 5.742 MB / 186.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.7148/0.7148, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.398e-05, allocations: 9.859 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.02529/0.02531, allocations: 39.87 MB / 0.657 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008201/0.03351, allocations: 6.864 MB / 0.6637 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.03471, allocations: 59.44 kB / 0.6638 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.03579, allocations: 0.504 MB / 0.6643 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002796/0.03859, allocations: 1.511 MB / 0.6657 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.04045, allocations: 1.212 MB / 0.6669 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00227/0.04272, allocations: 2.536 MB / 0.6694 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008558/0.04358, allocations: 0.6841 MB / 0.6701 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.04571, allocations: 1.76 MB / 0.6718 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006612/0.04637, allocations: 0.5918 MB / 0.6724 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.04648, allocations: 84 kB / 0.6725 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.04751, allocations: 0.6507 MB / 0.6731 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.04768, allocations: 239 kB / 0.6733 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.04796, allocations: 347.1 kB / 0.6736 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.04937, allocations: 1.546 MB / 0.6752 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.04938, allocations: 0 / 0.6752 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/0.04938, allocations: 0 / 0.6752 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.0494, allocations: 0 / 0.6752 GB, free: 3.016 MB / 0.6355 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.001523/0.05092, allocations: 1.309 MB / 0.6764 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.05096, allocations: 16.02 kB / 0.6764 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.01e-05/0.05105, allocations: 110.7 kB / 0.6766 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.0512, allocations: 116.2 kB / 0.6767 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000847/0.05205, allocations: 0.6888 MB / 0.6773 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.05209, allocations: 62.36 kB / 0.6774 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.05216, allocations: 72.38 kB / 0.6775 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3071/0.3593, allocations: 0.9374 MB / 0.6784 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.3593, allocations: 0 / 0.6784 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.3594, allocations: 31.62 kB / 0.6784 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3594, allocations: 16.34 kB / 0.6784 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009529/0.3603, allocations: 0.5897 MB / 0.679 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.363, allocations: 3.191 MB / 0.6821 GB, free: 98.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.3637, allocations: 359.5 kB / 0.6825 GB, free: 98.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.364, allocations: 218.3 kB / 0.6827 GB, free: 98.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.3643, allocations: 115.6 kB / 0.6828 GB, free: 98.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000428/0.3647, allocations: 407.5 kB / 0.6832 GB, free: 98.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 3.557e-06/0.3647, allocations: 0 / 0.6832 GB, free: 98.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.001089/0.3658, allocations: 0.6941 MB / 0.6838 GB, free: 97.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3658, allocations: 64.62 kB / 0.6839 GB, free: 97.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005929/0.3664, allocations: 0.7377 MB / 0.6846 GB, free: 97.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/0.3665, allocations: 39.33 kB / 0.6847 GB, free: 97.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.3667, allocations: 452.5 kB / 0.6851 GB, free: 97.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.3668, allocations: 133.8 kB / 0.6852 GB, free: 97.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3669, allocations: 135.4 kB / 0.6854 GB, free: 96.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.3669, allocations: 330 kB / 0.6857 GB, free: 96.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.3673, allocations: 264.3 kB / 0.6859 GB, free: 96.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.3677, allocations: 0.7716 MB / 0.6867 GB, free: 95.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/0.3683, allocations: 0.6598 MB / 0.6873 GB, free: 95.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3683, allocations: 0 / 0.6873 GB, free: 95.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009888/0.3693, allocations: 0.8442 MB / 0.6881 GB, free: 94.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.3693, allocations: 64.3 kB / 0.6882 GB, free: 94.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3693, allocations: 5.281 kB / 0.6882 GB, free: 94.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.3694, allocations: 10.84 kB / 0.6882 GB, free: 94.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.3696, allocations: 136.1 kB / 0.6884 GB, free: 94.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3696, allocations: 12.62 kB / 0.6884 GB, free: 94.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.3701, allocations: 103.5 kB / 0.6885 GB, free: 94.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.3701, allocations: 43.56 kB / 0.6885 GB, free: 94.85 MB / 0.6355 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.0002877/0.3704, allocations: 245 kB / 0.6887 GB, free: 94.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/0.3705, allocations: 93.16 kB / 0.6888 GB, free: 94.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3717, allocations: 1.137 MB / 0.6899 GB, free: 94.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.3717, allocations: 15.86 kB / 0.69 GB, free: 94.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3717, allocations: 0 / 0.69 GB, free: 94.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3718, allocations: 7.172 kB / 0.69 GB, free: 94.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.3738, allocations: 1.843 MB / 0.6918 GB, free: 93.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.3739, allocations: 3 kB / 0.6918 GB, free: 93.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.3741, allocations: 104.6 kB / 0.6919 GB, free: 93.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.3741, allocations: 9.406 kB / 0.6919 GB, free: 93.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.3741, allocations: 23.59 kB / 0.6919 GB, free: 93.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.3741, allocations: 5.781 kB / 0.6919 GB, free: 93.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3741, allocations: 6.875 kB / 0.6919 GB, free: 93.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.3757, allocations: 1.441 MB / 0.6933 GB, free: 92.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.376, allocations: 185.6 kB / 0.6935 GB, free: 92.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.3761, allocations: 20.98 kB / 0.6935 GB, free: 92.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.3763, allocations: 57.17 kB / 0.6936 GB, free: 92.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3765, allocations: 70.52 kB / 0.6936 GB, free: 92.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.3765, allocations: 30.28 kB / 0.6937 GB, free: 92.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004552/0.377, allocations: 0.4905 MB / 0.6941 GB, free: 92.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.81e-07/0.377, allocations: 0 / 0.6941 GB, free: 92.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009729/0.3779, allocations: 342.5 kB / 0.6945 GB, free: 92.29 MB / 0.6355 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.002368/0.3803, allocations: 2.298 MB / 0.6967 GB, free: 91.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.3814, allocations: 0.8156 MB / 0.6975 GB, free: 90.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.3814, allocations: 2.562 kB / 0.6975 GB, free: 90.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.382, allocations: 442.6 kB / 0.6979 GB, free: 90.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.3833, allocations: 369.8 kB / 0.6983 GB, free: 90.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007017/0.3903, allocations: 6.833 MB / 0.705 GB, free: 86.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.3905, allocations: 439.2 kB / 0.7054 GB, free: 86.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005082/0.3911, allocations: 168.4 kB / 0.7055 GB, free: 86.28 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.3924, allocations: 348.5 kB / 0.7059 GB, free: 86.03 MB / 0.6355 GB Notification: Performance of SimCode: time 1.613e-06/0.3924, allocations: 0 / 0.7059 GB, free: 86.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04528/0.4376, allocations: 29.21 MB / 0.7344 GB, free: 79.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/8.138, allocations: 7.281 kB / 0.7344 GB, free: 79.08 MB / 0.6355 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.968421314842999] Failed to read output from testmodel.py, exit status != 0: 8.23215492721647 8.242180707 8.190779404 Calling exit ...