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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 103.8 kB / 17.12 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 194.6 kB / 20.08 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.103/1.103, allocations: 177.8 MB / 481.2 MB, free: 1.43 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001935/0.001935, allocations: 67.52 kB / 0.6694 GB, free: 9.102 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2043, allocations: 95.09 MB / 0.7623 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.05482/0.2591, allocations: 43.71 MB / 0.805 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01222/0.2713, allocations: 7.347 MB / 0.8122 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.2729, allocations: 43.69 kB / 0.8122 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.2744, allocations: 0.4885 MB / 0.8127 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00436/0.2788, allocations: 1.497 MB / 0.8141 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.282, allocations: 1.107 MB / 0.8152 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004016/0.286, allocations: 2.518 MB / 0.8177 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.2876, allocations: 0.7265 MB / 0.8184 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003458/0.2911, allocations: 1.428 MB / 0.8198 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.2926, allocations: 0.7077 MB / 0.8205 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002805/0.2929, allocations: 80 kB / 0.8206 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.2951, allocations: 0.8305 MB / 0.8214 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004099/0.2955, allocations: 235.1 kB / 0.8216 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000976/0.2965, allocations: 0.517 MB / 0.8221 GB, free: 216 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003569/0.3001, allocations: 1.557 MB / 0.8236 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3001, allocations: 0 / 0.8236 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3001, allocations: 0 / 0.8236 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.457e-05/0.3001, allocations: 0 / 0.8236 GB, free: 14.65 MB / 0.6387 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.002845/0.303, allocations: 1.392 MB / 0.825 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.303, allocations: 12.03 kB / 0.825 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002941/0.3033, allocations: 124.2 kB / 0.8251 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.3049, allocations: 0.7573 MB / 0.8258 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.305, allocations: 54 kB / 0.8259 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.3051, allocations: 68 kB / 0.826 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.3068, allocations: 0.8429 MB / 0.8268 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.3068, allocations: 3.938 kB / 0.8268 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.3069, allocations: 28 kB / 0.8268 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.3069, allocations: 20 kB / 0.8268 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.3084, allocations: 0.5865 MB / 0.8274 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/0.3133, allocations: 3.992 MB / 0.8313 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.3144, allocations: 362.4 kB / 0.8317 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006218/0.3151, allocations: 224.4 kB / 0.8319 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.3162, allocations: 1.31 MB / 0.8331 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000694/0.3169, allocations: 289.8 kB / 0.8334 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.936e-06/0.3169, allocations: 0 / 0.8334 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.002064/0.319, allocations: 0.7048 MB / 0.8341 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/0.3192, allocations: 63.33 kB / 0.8342 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000997/0.3202, allocations: 0.7278 MB / 0.8349 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/0.3202, allocations: 33.7 kB / 0.8349 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.3206, allocations: 464.4 kB / 0.8354 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.3208, allocations: 134.9 kB / 0.8355 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.321, allocations: 134.1 kB / 0.8356 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3211, allocations: 326 kB / 0.8359 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005392/0.3217, allocations: 217 kB / 0.8361 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007421/0.3224, allocations: 415.8 kB / 0.8365 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3906/0.713, allocations: 0.654 MB / 0.8372 GB, free: 73.82 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.713, allocations: 1.906 kB / 0.8372 GB, free: 73.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001895/0.7149, allocations: 0.7744 MB / 0.8379 GB, free: 73.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.715, allocations: 67.8 kB / 0.838 GB, free: 73.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.715, allocations: 9.406 kB / 0.838 GB, free: 73.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.715, allocations: 9.266 kB / 0.838 GB, free: 73.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.7155, allocations: 132.7 kB / 0.8381 GB, free: 73.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.7155, allocations: 15.41 kB / 0.8382 GB, free: 73.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/0.7162, allocations: 111.8 kB / 0.8383 GB, free: 73.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/0.7163, allocations: 38.02 kB / 0.8383 GB, free: 73.63 MB / 0.6387 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.0003525/0.7166, allocations: 244.8 kB / 0.8385 GB, free: 73.51 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.7167, allocations: 90.66 kB / 0.8386 GB, free: 73.51 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.7189, allocations: 1.105 MB / 0.8397 GB, free: 73.42 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.678e-05/0.7189, allocations: 18.34 kB / 0.8397 GB, free: 73.42 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.7189, allocations: 0.8438 kB / 0.8397 GB, free: 73.42 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.7189, allocations: 1.078 kB / 0.8397 GB, free: 73.42 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/0.722, allocations: 1.926 MB / 0.8416 GB, free: 72.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.722, allocations: 2.969 kB / 0.8416 GB, free: 72.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.7224, allocations: 98.56 kB / 0.8417 GB, free: 72.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.7225, allocations: 4.969 kB / 0.8417 GB, free: 72.51 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.7225, allocations: 21.7 kB / 0.8417 GB, free: 72.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.7225, allocations: 9.641 kB / 0.8417 GB, free: 72.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.7225, allocations: 4.703 kB / 0.8417 GB, free: 72.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.725, allocations: 1.413 MB / 0.8431 GB, free: 71.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/0.7254, allocations: 268.5 kB / 0.8434 GB, free: 71.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.7255, allocations: 15.12 kB / 0.8434 GB, free: 71.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.726, allocations: 56.34 kB / 0.8434 GB, free: 71.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.7261, allocations: 76.52 kB / 0.8435 GB, free: 71.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.865e-05/0.7262, allocations: 33 kB / 0.8435 GB, free: 71.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007255/0.7269, allocations: 0.4898 MB / 0.844 GB, free: 71.36 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7269, allocations: 0.9375 kB / 0.844 GB, free: 71.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001084/0.728, allocations: 332.9 kB / 0.8443 GB, free: 71.32 MB / 0.6387 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.0008409/0.7288, allocations: 435.1 kB / 0.8448 GB, free: 71.19 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.7305, allocations: 0.7412 MB / 0.8455 GB, free: 70.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7305, allocations: 0.6875 kB / 0.8455 GB, free: 70.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009545/0.7315, allocations: 410.8 kB / 0.8459 GB, free: 70.76 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.7333, allocations: 372.3 kB / 0.8462 GB, free: 70.67 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.7365, allocations: 1.678 MB / 0.8479 GB, free: 69.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.7372, allocations: 1.016 MB / 0.8489 GB, free: 69.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.7374, allocations: 91.45 kB / 0.8489 GB, free: 69 MB / 0.6387 GB Notification: Performance of SimCode: time 1.483e-06/0.7374, allocations: 0 / 0.8489 GB, free: 69 MB / 0.6387 GB Notification: Performance of Templates: time 0.02821/0.7656, allocations: 16.5 MB / 0.8651 GB, free: 63.09 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.134159877023194] Failed to read output from testmodel.py, exit status != 0: 0.773751856002491 0.783005813 0.480667416 Calling exit ...