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.0007594/0.0007594, 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.0008002/0.0008002, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8674/0.8674, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.6945/0.6945, allocations: 154.6 MB / 413.8 MB, free: 0.7773 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.643e-06/1.643e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.327e-05, allocations: 8.344 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.02545/0.02547, allocations: 39.86 MB / 0.657 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006874/0.03234, allocations: 6.868 MB / 0.6637 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005826/0.03292, allocations: 59.44 kB / 0.6638 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008732/0.0338, allocations: 0.5002 MB / 0.6643 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.03565, allocations: 1.511 MB / 0.6658 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.03728, allocations: 1.208 MB / 0.6669 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.0392, allocations: 2.54 MB / 0.6694 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007074/0.03991, allocations: 0.6918 MB / 0.6701 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.04171, allocations: 1.752 MB / 0.6718 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000482/0.04219, allocations: 0.5918 MB / 0.6724 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.04227, allocations: 83.94 kB / 0.6725 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008286/0.0431, allocations: 0.6546 MB / 0.6731 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.04327, allocations: 247 kB / 0.6733 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.0435, allocations: 343.2 kB / 0.6737 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.04487, allocations: 1.542 MB / 0.6752 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.04488, allocations: 0 / 0.6752 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/0.04488, allocations: 0 / 0.6752 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.108e-06/0.04489, allocations: 0 / 0.6752 GB, free: 3.023 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.001261/0.04615, allocations: 1.315 MB / 0.6764 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.04619, allocations: 8.031 kB / 0.6765 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.63e-05/0.04627, allocations: 114.6 kB / 0.6766 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.0464, allocations: 120.2 kB / 0.6767 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000784/0.04719, allocations: 0.685 MB / 0.6773 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.04722, allocations: 54.38 kB / 0.6774 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/0.04729, allocations: 72.38 kB / 0.6775 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2746/0.3219, allocations: 0.9323 MB / 0.6784 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.3219, allocations: 5.875 kB / 0.6784 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.3219, allocations: 31.27 kB / 0.6784 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.3219, allocations: 18 kB / 0.6784 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008869/0.3228, allocations: 0.5905 MB / 0.679 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.3253, allocations: 3.19 MB / 0.6821 GB, free: 98.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006671/0.326, allocations: 364.7 kB / 0.6825 GB, free: 98.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.3263, allocations: 219.2 kB / 0.6827 GB, free: 98.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.3265, allocations: 110.3 kB / 0.6828 GB, free: 98.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.327, allocations: 404.9 kB / 0.6832 GB, free: 98.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 3.967e-06/0.327, allocations: 0 / 0.6832 GB, free: 98.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.001072/0.328, allocations: 0.7064 MB / 0.6839 GB, free: 97.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.3281, allocations: 57.19 kB / 0.6839 GB, free: 97.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.3286, allocations: 0.736 MB / 0.6846 GB, free: 97.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.3287, allocations: 39.52 kB / 0.6847 GB, free: 97.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.3288, allocations: 453.8 kB / 0.6851 GB, free: 97.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/0.3289, allocations: 136.7 kB / 0.6852 GB, free: 96.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.329, allocations: 136.3 kB / 0.6854 GB, free: 96.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.613e-05/0.3291, allocations: 329.2 kB / 0.6857 GB, free: 96.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.3294, allocations: 271.6 kB / 0.6859 GB, free: 96.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/0.3298, allocations: 0.7687 MB / 0.6867 GB, free: 95.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006027/0.3304, allocations: 0.6542 MB / 0.6873 GB, free: 95.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3304, allocations: 2.938 kB / 0.6873 GB, free: 95.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009067/0.3313, allocations: 0.8362 MB / 0.6881 GB, free: 94.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.3313, allocations: 67.09 kB / 0.6882 GB, free: 94.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3313, allocations: 9.094 kB / 0.6882 GB, free: 94.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.3314, allocations: 12.66 kB / 0.6882 GB, free: 94.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.3316, allocations: 128.5 kB / 0.6884 GB, free: 94.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3316, allocations: 18.66 kB / 0.6884 GB, free: 94.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.332, allocations: 103.6 kB / 0.6885 GB, free: 94.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.332, allocations: 41.36 kB / 0.6885 GB, free: 94.81 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.0002604/0.3323, allocations: 246.4 kB / 0.6887 GB, free: 94.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.3324, allocations: 87.44 kB / 0.6888 GB, free: 94.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.3336, allocations: 1.134 MB / 0.6899 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.3336, allocations: 17.31 kB / 0.69 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3336, allocations: 0 / 0.69 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3336, allocations: 7.312 kB / 0.69 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.3353, allocations: 1.851 MB / 0.6918 GB, free: 93.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3354, allocations: 2.969 kB / 0.6918 GB, free: 93.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.3356, allocations: 98.44 kB / 0.6919 GB, free: 93.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3356, allocations: 9.016 kB / 0.6919 GB, free: 93.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.3356, allocations: 19.92 kB / 0.6919 GB, free: 93.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.3356, allocations: 9.719 kB / 0.6919 GB, free: 93.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3356, allocations: 3.625 kB / 0.6919 GB, free: 93.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.337, allocations: 1.449 MB / 0.6933 GB, free: 92.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.3372, allocations: 186.2 kB / 0.6935 GB, free: 92.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.3373, allocations: 19.52 kB / 0.6935 GB, free: 92.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.3375, allocations: 51.17 kB / 0.6936 GB, free: 92.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3376, allocations: 74.45 kB / 0.6936 GB, free: 92.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.3377, allocations: 37.08 kB / 0.6937 GB, free: 92.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004048/0.3381, allocations: 499.1 kB / 0.6941 GB, free: 92.31 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3381, allocations: 0 / 0.6941 GB, free: 92.31 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008163/0.3389, allocations: 342.7 kB / 0.6945 GB, free: 92.25 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.002274/0.3412, allocations: 2.294 MB / 0.6967 GB, free: 91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.3423, allocations: 0.8131 MB / 0.6975 GB, free: 90.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3423, allocations: 4 kB / 0.6975 GB, free: 90.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.3428, allocations: 442.8 kB / 0.6979 GB, free: 90.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.3441, allocations: 368.2 kB / 0.6983 GB, free: 90.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007004/0.3511, allocations: 6.842 MB / 0.705 GB, free: 86.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3514, allocations: 439.5 kB / 0.7054 GB, free: 86.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004792/0.3518, allocations: 160.3 kB / 0.7055 GB, free: 86.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.3521, allocations: 356.5 kB / 0.7059 GB, free: 85.99 MB / 0.6355 GB Notification: Performance of SimCode: time 2.635e-06/0.3521, allocations: 3.828 kB / 0.7059 GB, free: 85.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05487/0.407, allocations: 29.2 MB / 0.7344 GB, free: 79.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.962, allocations: 5.094 kB / 0.7344 GB, free: 79.07 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 & /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.63077385444194] Failed to read output from testmodel.py, exit status != 0: 8.055957343429327 8.068418078 8.021722001 Calling exit ...