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.0008485/0.0008485, 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.0008528/0.0008528, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9166/0.9166, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.7243/0.7243, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.494e-05, allocations: 5.234 kB / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.02875/0.02877, allocations: 39.86 MB / 0.657 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007914/0.03669, allocations: 6.862 MB / 0.6637 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.03815, allocations: 59.44 kB / 0.6637 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.03964, allocations: 0.5002 MB / 0.6642 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.04311, allocations: 1.515 MB / 0.6657 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.04536, allocations: 1.213 MB / 0.6669 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003128/0.04849, allocations: 2.529 MB / 0.6693 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.04968, allocations: 0.6918 MB / 0.67 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.05293, allocations: 1.76 MB / 0.6717 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.05398, allocations: 0.5802 MB / 0.6723 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.05417, allocations: 80 kB / 0.6724 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.05553, allocations: 0.6584 MB / 0.673 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.05577, allocations: 243 kB / 0.6732 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004418/0.05621, allocations: 351.1 kB / 0.6736 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.05819, allocations: 1.538 MB / 0.6751 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.05819, allocations: 0 / 0.6751 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.0582, allocations: 0 / 0.6751 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.432e-05/0.05822, allocations: 0 / 0.6751 GB, free: 3.074 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.001634/0.05985, allocations: 1.313 MB / 0.6764 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.0599, allocations: 17.41 kB / 0.6764 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.06, allocations: 114.7 kB / 0.6765 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.06017, allocations: 124.2 kB / 0.6766 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008825/0.06105, allocations: 0.6811 MB / 0.6773 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/0.06109, allocations: 58.36 kB / 0.6773 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/0.06117, allocations: 72.38 kB / 0.6774 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.264/0.3252, allocations: 0.9346 MB / 0.6783 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.3252, allocations: 9.844 kB / 0.6783 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.3253, allocations: 28.19 kB / 0.6783 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.3253, allocations: 17.28 kB / 0.6784 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008941/0.3262, allocations: 0.5875 MB / 0.6789 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.3288, allocations: 3.189 MB / 0.6821 GB, free: 98.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/0.3295, allocations: 358 kB / 0.6824 GB, free: 98.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.3298, allocations: 220.6 kB / 0.6826 GB, free: 98.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/0.33, allocations: 111.5 kB / 0.6827 GB, free: 98.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004258/0.3304, allocations: 409.8 kB / 0.6831 GB, free: 98.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 3.136e-06/0.3304, allocations: 1.656 kB / 0.6831 GB, free: 98.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.001141/0.3316, allocations: 0.7005 MB / 0.6838 GB, free: 98.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3316, allocations: 54.66 kB / 0.6838 GB, free: 97.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006297/0.3323, allocations: 0.7365 MB / 0.6846 GB, free: 97.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.3323, allocations: 39.52 kB / 0.6846 GB, free: 97.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.3325, allocations: 458.7 kB / 0.685 GB, free: 97.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/0.3326, allocations: 134.5 kB / 0.6852 GB, free: 97.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.3327, allocations: 135.5 kB / 0.6853 GB, free: 97.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.19e-05/0.3328, allocations: 326.2 kB / 0.6856 GB, free: 96.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.3331, allocations: 272.6 kB / 0.6859 GB, free: 96.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.3335, allocations: 0.7718 MB / 0.6866 GB, free: 95.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006064/0.3341, allocations: 0.6618 MB / 0.6873 GB, free: 95.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3341, allocations: 2.844 kB / 0.6873 GB, free: 95.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000995/0.3351, allocations: 0.8283 MB / 0.6881 GB, free: 95.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.3351, allocations: 66.47 kB / 0.6881 GB, free: 95.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3352, allocations: 5.25 kB / 0.6881 GB, free: 95.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.3352, allocations: 8.5 kB / 0.6882 GB, free: 95.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.3355, allocations: 140.9 kB / 0.6883 GB, free: 95.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.3355, allocations: 12.5 kB / 0.6883 GB, free: 95.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.3359, allocations: 106.8 kB / 0.6884 GB, free: 95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.3359, allocations: 43.42 kB / 0.6884 GB, free: 95 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.0002628/0.3362, allocations: 240.3 kB / 0.6887 GB, free: 94.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.3363, allocations: 96.16 kB / 0.6888 GB, free: 94.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3375, allocations: 1.132 MB / 0.6899 GB, free: 94.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.3375, allocations: 13.31 kB / 0.6899 GB, free: 94.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3375, allocations: 0 / 0.6899 GB, free: 94.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3375, allocations: 7.078 kB / 0.6899 GB, free: 94.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.3393, allocations: 1.847 MB / 0.6917 GB, free: 93.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.3393, allocations: 5.062 kB / 0.6917 GB, free: 93.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.3396, allocations: 107.3 kB / 0.6918 GB, free: 93.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.3396, allocations: 9.266 kB / 0.6918 GB, free: 93.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.3396, allocations: 20.92 kB / 0.6918 GB, free: 93.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.3396, allocations: 5.688 kB / 0.6918 GB, free: 93.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3396, allocations: 2.875 kB / 0.6918 GB, free: 93.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.341, allocations: 1.444 MB / 0.6932 GB, free: 92.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.3413, allocations: 182.7 kB / 0.6934 GB, free: 92.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.3414, allocations: 19.38 kB / 0.6934 GB, free: 92.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.3416, allocations: 53.23 kB / 0.6935 GB, free: 92.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3418, allocations: 77.09 kB / 0.6936 GB, free: 92.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.3418, allocations: 33.19 kB / 0.6936 GB, free: 92.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000415/0.3422, allocations: 0.4912 MB / 0.6941 GB, free: 92.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3422, allocations: 2.688 kB / 0.6941 GB, free: 92.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008291/0.343, allocations: 334.7 kB / 0.6944 GB, free: 92.38 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.002094/0.3451, allocations: 2.305 MB / 0.6966 GB, free: 91.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.3463, allocations: 0.8169 MB / 0.6974 GB, free: 90.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.3463, allocations: 6.906 kB / 0.6974 GB, free: 90.74 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005736/0.3469, allocations: 439.1 kB / 0.6979 GB, free: 90.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.3481, allocations: 366.2 kB / 0.6982 GB, free: 90.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007017/0.3551, allocations: 6.843 MB / 0.7049 GB, free: 86.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.3554, allocations: 432.2 kB / 0.7053 GB, free: 86.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005283/0.3559, allocations: 173.9 kB / 0.7055 GB, free: 86.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.3562, allocations: 352.3 kB / 0.7058 GB, free: 86.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.874e-06/0.3562, allocations: 0 / 0.7058 GB, free: 86.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06445/0.4206, allocations: 29.21 MB / 0.7343 GB, free: 79.17 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/8.118, allocations: 3.625 kB / 0.7343 GB, free: 79.17 MB / 0.6355 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: 10.967599258758128] Failed to read output from testmodel.py, exit status != 0: 8.216492904350162 8.227440175 8.167157246 Calling exit ...