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.0009229/0.0009229, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0009391/0.0009391, allocations: 177 kB / 23.36 MB, free: 1.125 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 1.016/1.016, 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 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-545:108: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-545:116: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.8115/0.8115, allocations: 154.6 MB / 414.8 MB, free: 0.4961 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: translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.Tap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 480 MB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.6e-05, allocations: 5.922 kB / 480 MB, free: 6.852 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.008971/0.008987, allocations: 11.31 MB / 491.3 MB, free: 11.57 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004652/0.01364, allocations: 3.57 MB / 494.9 MB, free: 8.039 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004953/0.01413, allocations: 60.06 kB / 495 MB, free: 7.98 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.01465, allocations: 297.4 kB / 495.3 MB, free: 7.688 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.01591, allocations: 0.9021 MB / 496.2 MB, free: 6.789 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.01721, allocations: 1.032 MB / 497.2 MB, free: 5.762 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.01899, allocations: 2.484 MB / 499.7 MB, free: 3.27 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007506/0.01974, allocations: 0.7044 MB / 0.4886 GB, free: 2.547 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.02087, allocations: 1.157 MB / 0.4898 GB, free: 1.387 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009045/0.02178, allocations: 0.5718 MB / 0.4903 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.02186, allocations: 80 kB / 0.4904 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.02224, allocations: 245.4 kB / 0.4906 GB, free: 0.5 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.0224, allocations: 243 kB / 0.4909 GB, free: 268 kB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.02267, allocations: 347.2 kB / 0.4912 GB, free: 15.92 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007423/0.02341, allocations: 0.8406 MB / 0.492 GB, free: 15.08 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.02341, allocations: 0 / 0.492 GB, free: 15.08 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02341, allocations: 2.406 kB / 0.492 GB, free: 15.08 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.02342, allocations: 0 / 0.492 GB, free: 15.08 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.001069/0.02449, allocations: 1.218 MB / 0.4932 GB, free: 13.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.02452, allocations: 12.95 kB / 0.4932 GB, free: 13.81 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.02465, allocations: 132.8 kB / 0.4934 GB, free: 13.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.02529, allocations: 0.6053 MB / 0.4939 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.02533, allocations: 58.38 kB / 0.494 GB, free: 13 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.0254, allocations: 72.36 kB / 0.4941 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.02601, allocations: 0.7204 MB / 0.4948 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.02603, allocations: 3.938 kB / 0.4948 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.02606, allocations: 28 kB / 0.4948 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.02607, allocations: 21.91 kB / 0.4948 GB, free: 12.06 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.02632, allocations: 200.6 kB / 0.495 GB, free: 11.87 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.02836, allocations: 2.648 MB / 0.4976 GB, free: 9.141 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.02866, allocations: 218.9 kB / 0.4978 GB, free: 8.922 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.02874, allocations: 75.62 kB / 0.4979 GB, free: 8.844 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.02884, allocations: 38.14 kB / 0.4979 GB, free: 8.809 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.02907, allocations: 275.4 kB / 0.4982 GB, free: 8.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=39): time 1.713e-06/0.02907, allocations: 0 / 0.4982 GB, free: 8.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003248/0.02939, allocations: 240.4 kB / 0.4984 GB, free: 8.262 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.02942, allocations: 68.34 kB / 0.4985 GB, free: 8.184 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.02975, allocations: 0.5584 MB / 0.499 GB, free: 7.617 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.02978, allocations: 38.67 kB / 0.4991 GB, free: 7.574 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.02994, allocations: 377.3 kB / 0.4994 GB, free: 7.199 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.03001, allocations: 134.8 kB / 0.4996 GB, free: 7.066 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.03013, allocations: 131.2 kB / 0.4997 GB, free: 6.934 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.03023, allocations: 382.6 kB / 0.5 GB, free: 6.551 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.03033, allocations: 127.4 kB / 0.5002 GB, free: 6.414 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.0306, allocations: 0.6021 MB / 0.5008 GB, free: 5.652 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.03089, allocations: 413.5 kB / 0.5011 GB, free: 5.164 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.0309, allocations: 0 / 0.5011 GB, free: 5.164 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003904/0.03129, allocations: 468.3 kB / 0.5016 GB, free: 4.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.03132, allocations: 59.41 kB / 0.5016 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.03133, allocations: 4 kB / 0.5017 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.03134, allocations: 12.88 kB / 0.5017 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.0316, allocations: 135.8 kB / 0.5018 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.0316, allocations: 18.95 kB / 0.5018 GB, free: 4.445 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.03183, allocations: 83.59 kB / 0.5019 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.03188, allocations: 27.98 kB / 0.5019 GB, free: 4.336 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.0001431/0.03202, allocations: 164.4 kB / 0.5021 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.03207, allocations: 55.94 kB / 0.5021 GB, free: 4.109 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006311/0.03271, allocations: 0.5759 MB / 0.5027 GB, free: 3.535 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.03272, allocations: 17.11 kB / 0.5027 GB, free: 3.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.03272, allocations: 1.156 kB / 0.5027 GB, free: 3.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.03273, allocations: 3.984 kB / 0.5027 GB, free: 3.516 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.03397, allocations: 1.063 MB / 0.5038 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.03398, allocations: 4 kB / 0.5038 GB, free: 2.379 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.03416, allocations: 92.66 kB / 0.5038 GB, free: 2.289 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.03416, allocations: 4 kB / 0.5038 GB, free: 2.285 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.03418, allocations: 25.77 kB / 0.5039 GB, free: 2.262 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.03419, allocations: 7.938 kB / 0.5039 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.03419, allocations: 4 kB / 0.5039 GB, free: 2.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005364/0.03473, allocations: 0.6528 MB / 0.5045 GB, free: 1.531 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.03487, allocations: 135.2 kB / 0.5046 GB, free: 1.398 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.03492, allocations: 15.94 kB / 0.5047 GB, free: 1.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.0351, allocations: 45.42 kB / 0.5047 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.03519, allocations: 64.33 kB / 0.5048 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.03522, allocations: 27.98 kB / 0.5048 GB, free: 1.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001717/0.03539, allocations: 256.6 kB / 0.505 GB, free: 1 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03539, allocations: 4.906 kB / 0.505 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004121/0.0358, allocations: 251.4 kB / 0.5053 GB, free: 0.75 MB / 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.0002339/0.03603, allocations: 177.5 kB / 0.5055 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003843/0.03642, allocations: 455.3 kB / 0.5059 GB, free: 100 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/0.03643, allocations: 13.72 kB / 0.5059 GB, free: 88 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.03663, allocations: 179.4 kB / 0.5061 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.03728, allocations: 292.8 kB / 0.5064 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.03877, allocations: 1.415 MB / 0.5077 GB, free: 14.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.03888, allocations: 184.4 kB / 0.5079 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.03912, allocations: 130.4 kB / 0.508 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.03956, allocations: 302.8 kB / 0.5083 GB, free: 13.54 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03956, allocations: 0 / 0.5083 GB, free: 13.54 MB / 490.7 MB Notification: Performance of Templates: time 0.01682/0.05638, allocations: 14.92 MB / 0.5229 GB, free: 15.17 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.Tap.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Taps.Examples.Tap -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8205432812683284]