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.0009035/0.0009035, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001039/0.001039, 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.9433/0.9433, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.7154/0.7154, allocations: 154.5 MB / 413.7 MB, free: 0.8047 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 1.663e-06/1.663e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.397e-05, allocations: 5.516 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.02786/0.02789, allocations: 39.86 MB / 0.657 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006988/0.03487, allocations: 6.861 MB / 0.6637 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.03558, allocations: 59.44 kB / 0.6637 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008713/0.03645, allocations: 0.5002 MB / 0.6642 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.03879, allocations: 1.515 MB / 0.6657 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.04043, allocations: 1.224 MB / 0.6669 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001753/0.04219, allocations: 2.513 MB / 0.6693 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006813/0.04287, allocations: 0.6957 MB / 0.67 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.04484, allocations: 1.76 MB / 0.6717 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007846/0.04562, allocations: 0.584 MB / 0.6723 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.04574, allocations: 84 kB / 0.6724 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.04684, allocations: 0.6584 MB / 0.673 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.04702, allocations: 239 kB / 0.6733 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.0473, allocations: 351.1 kB / 0.6736 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.04871, allocations: 1.538 MB / 0.6751 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.04871, allocations: 4 kB / 0.6751 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/0.04871, allocations: 0 / 0.6751 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.903e-05/0.04873, allocations: 4 kB / 0.6751 GB, free: 3.094 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.001676/0.05041, allocations: 1.309 MB / 0.6764 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.05046, allocations: 9.469 kB / 0.6764 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.05057, allocations: 122.6 kB / 0.6765 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.05077, allocations: 116.2 kB / 0.6766 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.05184, allocations: 0.6811 MB / 0.6773 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.05189, allocations: 58.38 kB / 0.6773 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.05196, allocations: 68.38 kB / 0.6774 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2816/0.3336, allocations: 0.9407 MB / 0.6783 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.3336, allocations: 5.875 kB / 0.6783 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.3337, allocations: 24.16 kB / 0.6783 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.3337, allocations: 17.22 kB / 0.6784 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/0.3346, allocations: 0.5934 MB / 0.6789 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.3371, allocations: 3.19 MB / 0.6821 GB, free: 98.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006907/0.3378, allocations: 364.7 kB / 0.6824 GB, free: 98.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.3381, allocations: 215.4 kB / 0.6826 GB, free: 98.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.3384, allocations: 112.4 kB / 0.6827 GB, free: 98.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/0.3388, allocations: 407.4 kB / 0.6831 GB, free: 98.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.615e-06/0.3388, allocations: 0 / 0.6831 GB, free: 98.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.001076/0.3399, allocations: 0.6986 MB / 0.6838 GB, free: 97.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.3399, allocations: 61.38 kB / 0.6838 GB, free: 97.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/0.3404, allocations: 0.7417 MB / 0.6846 GB, free: 97.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.3405, allocations: 36.61 kB / 0.6846 GB, free: 97.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.3407, allocations: 454.8 kB / 0.685 GB, free: 97.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.3407, allocations: 136.4 kB / 0.6852 GB, free: 97.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3408, allocations: 131.7 kB / 0.6853 GB, free: 97.08 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.829e-05/0.3409, allocations: 330.2 kB / 0.6856 GB, free: 96.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.3412, allocations: 267.3 kB / 0.6859 GB, free: 96.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.3416, allocations: 0.7758 MB / 0.6866 GB, free: 95.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/0.3422, allocations: 0.6573 MB / 0.6873 GB, free: 95.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3422, allocations: 0 / 0.6873 GB, free: 95.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009323/0.3431, allocations: 0.8331 MB / 0.6881 GB, free: 95.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.3432, allocations: 65.61 kB / 0.6881 GB, free: 95.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3432, allocations: 5.844 kB / 0.6881 GB, free: 95.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.3432, allocations: 8.625 kB / 0.6882 GB, free: 95.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.3435, allocations: 142.4 kB / 0.6883 GB, free: 95.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.3435, allocations: 12.69 kB / 0.6883 GB, free: 95.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.3439, allocations: 105.8 kB / 0.6884 GB, free: 94.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.3439, allocations: 40.47 kB / 0.6884 GB, free: 94.98 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.0002598/0.3442, allocations: 248.4 kB / 0.6887 GB, free: 94.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.3442, allocations: 87.34 kB / 0.6888 GB, free: 94.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.3454, allocations: 1.129 MB / 0.6899 GB, free: 94.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.3454, allocations: 20.44 kB / 0.6899 GB, free: 94.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3454, allocations: 3.938 kB / 0.6899 GB, free: 94.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3455, allocations: 7.359 kB / 0.6899 GB, free: 94.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.3472, allocations: 1.846 MB / 0.6917 GB, free: 93.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.3472, allocations: 3.156 kB / 0.6917 GB, free: 93.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.3474, allocations: 100.5 kB / 0.6918 GB, free: 93.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.3474, allocations: 5.688 kB / 0.6918 GB, free: 93.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.3474, allocations: 27.56 kB / 0.6918 GB, free: 93.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.3474, allocations: 5.469 kB / 0.6918 GB, free: 93.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3474, allocations: 5.984 kB / 0.6918 GB, free: 93.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.3488, allocations: 1.443 MB / 0.6932 GB, free: 92.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.349, allocations: 182.8 kB / 0.6934 GB, free: 92.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.3491, allocations: 22.39 kB / 0.6934 GB, free: 92.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.3494, allocations: 57.8 kB / 0.6935 GB, free: 92.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3495, allocations: 72.17 kB / 0.6936 GB, free: 92.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.3495, allocations: 30.25 kB / 0.6936 GB, free: 92.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000407/0.3499, allocations: 499.2 kB / 0.6941 GB, free: 92.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3499, allocations: 0 / 0.6941 GB, free: 92.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008395/0.3508, allocations: 343.8 kB / 0.6944 GB, free: 92.41 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.002012/0.3528, allocations: 2.3 MB / 0.6966 GB, free: 91.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009886/0.3538, allocations: 0.8181 MB / 0.6974 GB, free: 90.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.3538, allocations: 0 / 0.6974 GB, free: 90.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.3543, allocations: 444.6 kB / 0.6979 GB, free: 90.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.3554, allocations: 368.6 kB / 0.6982 GB, free: 90.56 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/0.3617, allocations: 6.836 MB / 0.7049 GB, free: 86.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.362, allocations: 441.1 kB / 0.7053 GB, free: 86.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005721/0.3626, allocations: 166.5 kB / 0.7055 GB, free: 86.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.3628, allocations: 353.3 kB / 0.7058 GB, free: 86.16 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.3628, allocations: 0 / 0.7058 GB, free: 86.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05543/0.4183, allocations: 29.21 MB / 0.7343 GB, free: 79.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/8.008, allocations: 1.062 kB / 0.7343 GB, free: 79.18 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 & /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: 10.824487863108516] Failed to read output from testmodel.py, exit status != 0: 8.103129639290273 8.111336894 8.061235625 Calling exit ...