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.00103/0.00103, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001179/0.001179, allocations: 181 kB / 23.35 MB, free: 1.137 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.9813/0.9813, allocations: 177.1 MB / 203.8 MB, free: 5.461 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-535:34: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-535:42: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.7416/0.7416, allocations: 154.9 MB / 415.2 MB, free: 224 kB / 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: translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 480.3 MB, free: 6.539 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.191e-05, allocations: 4 kB / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.008512/0.008524, allocations: 11.26 MB / 491.6 MB, free: 11.3 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004544/0.01307, allocations: 3.563 MB / 495.2 MB, free: 7.773 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/0.01359, allocations: 59.44 kB / 495.2 MB, free: 7.715 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.01409, allocations: 298.9 kB / 495.5 MB, free: 7.422 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.01542, allocations: 0.9087 MB / 496.4 MB, free: 6.516 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.01703, allocations: 1.027 MB / 497.5 MB, free: 5.492 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001997/0.01903, allocations: 2.492 MB / 500 MB, free: 2.996 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006638/0.01969, allocations: 0.7385 MB / 0.489 GB, free: 2.242 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009716/0.02066, allocations: 1.17 MB / 0.4901 GB, free: 1.07 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004781/0.02114, allocations: 0.5657 MB / 0.4907 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.02122, allocations: 84 kB / 0.4907 GB, free: 432 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.02154, allocations: 232.3 kB / 0.491 GB, free: 200 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.02171, allocations: 243 kB / 0.4912 GB, free: 15.96 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002529/0.02197, allocations: 352.6 kB / 0.4915 GB, free: 15.61 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008894/0.02286, allocations: 0.8368 MB / 0.4923 GB, free: 14.77 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.02286, allocations: 0 / 0.4923 GB, free: 14.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.02286, allocations: 0 / 0.4923 GB, free: 14.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.02287, allocations: 0.9062 kB / 0.4923 GB, free: 14.77 MB / 474.7 MB 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.001045/0.02391, allocations: 1.224 MB / 0.4935 GB, free: 13.51 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.02394, allocations: 12.03 kB / 0.4936 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.02407, allocations: 129.3 kB / 0.4937 GB, free: 13.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006366/0.0247, allocations: 0.6122 MB / 0.4943 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.02474, allocations: 52 kB / 0.4943 GB, free: 12.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/0.02481, allocations: 80.31 kB / 0.4944 GB, free: 12.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005936/0.0254, allocations: 0.7164 MB / 0.4951 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.02542, allocations: 4 kB / 0.4951 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.02545, allocations: 28.52 kB / 0.4951 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.02546, allocations: 23.92 kB / 0.4952 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.02571, allocations: 206.2 kB / 0.4953 GB, free: 11.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.02744, allocations: 2.64 MB / 0.4979 GB, free: 8.832 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.02772, allocations: 213 kB / 0.4981 GB, free: 8.617 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.02781, allocations: 80.27 kB / 0.4982 GB, free: 8.535 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.777e-05/0.02791, allocations: 35.98 kB / 0.4982 GB, free: 8.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.02812, allocations: 278.6 kB / 0.4985 GB, free: 8.191 MB / 474.7 MB Notification: Performance of pre-optimization done (n=39): time 1.863e-06/0.02812, allocations: 4.531 kB / 0.4985 GB, free: 8.188 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003129/0.02843, allocations: 245.4 kB / 0.4987 GB, free: 7.945 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.02847, allocations: 63.33 kB / 0.4988 GB, free: 7.871 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/0.02901, allocations: 0.5594 MB / 0.4994 GB, free: 7.305 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.02905, allocations: 33.7 kB / 0.4994 GB, free: 7.266 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.02921, allocations: 377.3 kB / 0.4997 GB, free: 6.891 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.02928, allocations: 136.2 kB / 0.4999 GB, free: 6.758 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.0294, allocations: 134.2 kB / 0.5 GB, free: 6.621 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.0295, allocations: 390.6 kB / 0.5004 GB, free: 6.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.0296, allocations: 112.2 kB / 0.5005 GB, free: 6.109 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.02986, allocations: 0.6021 MB / 0.5011 GB, free: 5.344 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.03015, allocations: 413.2 kB / 0.5015 GB, free: 4.855 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.03015, allocations: 4 kB / 0.5015 GB, free: 4.852 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003734/0.03052, allocations: 457.1 kB / 0.5019 GB, free: 4.379 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.03056, allocations: 67.39 kB / 0.502 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.03057, allocations: 12.84 kB / 0.502 GB, free: 4.289 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.03058, allocations: 8 kB / 0.502 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.03081, allocations: 128.8 kB / 0.5021 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.03082, allocations: 15.92 kB / 0.5021 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.03104, allocations: 81.19 kB / 0.5022 GB, free: 4.062 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.03108, allocations: 31.98 kB / 0.5022 GB, free: 4.031 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (DHWDisCom1_Kh.local_reset,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) * 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.0001343/0.03121, allocations: 161.2 kB / 0.5024 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.03127, allocations: 57.22 kB / 0.5024 GB, free: 3.809 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.03187, allocations: 0.5835 MB / 0.503 GB, free: 3.227 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.03188, allocations: 9.719 kB / 0.503 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.03188, allocations: 0 / 0.503 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.03189, allocations: 3.984 kB / 0.503 GB, free: 3.215 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009586/0.03285, allocations: 1.067 MB / 0.5041 GB, free: 2.074 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.03285, allocations: 4.969 kB / 0.5041 GB, free: 2.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.03302, allocations: 83.88 kB / 0.5041 GB, free: 1.988 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.03302, allocations: 9 kB / 0.5042 GB, free: 1.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.03305, allocations: 19.92 kB / 0.5042 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.03305, allocations: 12.91 kB / 0.5042 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.03306, allocations: 4 kB / 0.5042 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.03358, allocations: 0.6486 MB / 0.5048 GB, free: 1.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.03372, allocations: 135.2 kB / 0.505 GB, free: 1.098 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.03378, allocations: 15.94 kB / 0.505 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.03396, allocations: 41.16 kB / 0.505 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.03404, allocations: 69.55 kB / 0.5051 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.03406, allocations: 19.98 kB / 0.5051 GB, free: 0.957 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.03423, allocations: 260.5 kB / 0.5053 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03423, allocations: 0.625 kB / 0.5053 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004017/0.03463, allocations: 259.4 kB / 0.5056 GB, free: 460 kB / 474.7 MB 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 (61): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002201/0.03485, allocations: 166.4 kB / 0.5058 GB, free: 292 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007404/0.03559, allocations: 471.8 kB / 0.5062 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.0356, allocations: 8 kB / 0.5062 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.03578, allocations: 180.2 kB / 0.5064 GB, free: 15.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.03643, allocations: 290.2 kB / 0.5067 GB, free: 15.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.0379, allocations: 1.414 MB / 0.508 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.03801, allocations: 184.4 kB / 0.5082 GB, free: 13.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.03824, allocations: 126.6 kB / 0.5083 GB, free: 13.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/0.03866, allocations: 311 kB / 0.5086 GB, free: 13.24 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.03866, allocations: 0 / 0.5086 GB, free: 13.24 MB / 490.7 MB Notification: Performance of Templates: time 0.01588/0.05454, allocations: 14.93 MB / 0.5232 GB, free: 14.88 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.78456406109035]