Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.0018/0.0018, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00206/0.00206, allocations: 168.4 kB / 23.95 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 158.6 MB / 185.7 MB, free: 6.43 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2704/0.2704, allocations: 36.34 MB / 274.3 MB, free: 0.6445 MB / 254.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 414.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.698e-05, allocations: 6.219 kB / 414.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2798/0.2798, allocations: 97.58 MB / 0.5004 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.2907, allocations: 10.32 MB / 0.5105 GB, free: 6.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/0.2915, allocations: 26.56 kB / 0.5105 GB, free: 6.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.2929, allocations: 0.5385 MB / 0.5111 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.2939, allocations: 0.6528 MB / 0.5117 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01263/0.3066, allocations: 5.698 MB / 0.5173 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.3083, allocations: 1.718 MB / 0.5189 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000666/0.309, allocations: 0.5176 MB / 0.5194 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.31, allocations: 0.8945 MB / 0.5203 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007407/0.3107, allocations: 0.5392 MB / 0.5208 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.705e-05/0.3108, allocations: 67.28 kB / 0.5209 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01206/0.3229, allocations: 6.143 MB / 0.5269 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.3231, allocations: 167.3 kB / 0.5271 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006005/0.3237, allocations: 307.4 kB / 0.5274 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.3341, allocations: 5.277 MB / 0.5325 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3341, allocations: 0 / 0.5325 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3341, allocations: 4 kB / 0.5325 GB, free: 5.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.3341, allocations: 0 / 0.5325 GB, free: 5.219 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.004185/0.3383, allocations: 1.496 MB / 0.534 GB, free: 3.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3383, allocations: 8.031 kB / 0.534 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.3387, allocations: 118.5 kB / 0.5341 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007826/0.3395, allocations: 425.9 kB / 0.5345 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.3395, allocations: 49.69 kB / 0.5345 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.365e-05/0.3396, allocations: 64.06 kB / 0.5346 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.3415, allocations: 0.8107 MB / 0.5354 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.3415, allocations: 4.312 kB / 0.5354 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.377e-05/0.3416, allocations: 31.94 kB / 0.5354 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.3416, allocations: 16 kB / 0.5354 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.3432, allocations: 0.5866 MB / 0.536 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.3467, allocations: 2.633 MB / 0.5386 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.3482, allocations: 464.7 kB / 0.539 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.3487, allocations: 165.6 kB / 0.5392 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06442/0.4131, allocations: 16.81 MB / 0.5556 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.237e-05/0.4131, allocations: 42.56 kB / 0.5557 GB, free: 13.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 3.046e-06/0.4131, allocations: 0 / 0.5557 GB, free: 13.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.002638/0.4158, allocations: 0.6861 MB / 0.5563 GB, free: 12.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.4159, allocations: 85.05 kB / 0.5564 GB, free: 12.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.4164, allocations: 373.9 kB / 0.5568 GB, free: 12.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.4164, allocations: 33.7 kB / 0.5568 GB, free: 12.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.4167, allocations: 344.6 kB / 0.5571 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.4168, allocations: 119 kB / 0.5572 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.417, allocations: 73.97 kB / 0.5573 GB, free: 11.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.4172, allocations: 358.7 kB / 0.5576 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.4176, allocations: 135 kB / 0.5578 GB, free: 11.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/0.4181, allocations: 201.8 kB / 0.558 GB, free: 10.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/0.4189, allocations: 346.2 kB / 0.5583 GB, free: 10.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4189, allocations: 0 / 0.5583 GB, free: 10.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001085/0.42, allocations: 424.9 kB / 0.5587 GB, free: 10 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.42, allocations: 4 kB / 0.5587 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.42, allocations: 4 kB / 0.5587 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.42, allocations: 4 kB / 0.5587 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.4205, allocations: 87.88 kB / 0.5588 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.4205, allocations: 8.188 kB / 0.5588 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.4209, allocations: 47.7 kB / 0.5589 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.4209, allocations: 15.98 kB / 0.5589 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004313/0.4214, allocations: 224.7 kB / 0.5591 GB, free: 9.609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003227/0.4217, allocations: 184 kB / 0.5593 GB, free: 9.391 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005975/0.4223, allocations: 306.8 kB / 0.5595 GB, free: 9.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.4223, allocations: 0 / 0.5595 GB, free: 9.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007832/0.4231, allocations: 369.3 kB / 0.5599 GB, free: 8.684 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4231, allocations: 8 kB / 0.5599 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4231, allocations: 4.344 kB / 0.5599 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.4231, allocations: 8 kB / 0.5599 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.4234, allocations: 83.88 kB / 0.56 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.4235, allocations: 11.94 kB / 0.56 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.4237, allocations: 35.77 kB / 0.56 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.4237, allocations: 16 kB / 0.5601 GB, free: 8.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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.0001833/0.4239, allocations: 196.8 kB / 0.5602 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.424, allocations: 51.67 kB / 0.5603 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.4264, allocations: 1.637 MB / 0.5619 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/0.4264, allocations: 23.97 kB / 0.5619 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.4264, allocations: 0 / 0.5619 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.4264, allocations: 3.984 kB / 0.5619 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.4275, allocations: 0.8207 MB / 0.5627 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4275, allocations: 0 / 0.5627 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.4279, allocations: 63.89 kB / 0.5628 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4279, allocations: 0 / 0.5628 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.4279, allocations: 16 kB / 0.5628 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4279, allocations: 2.5 kB / 0.5628 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4279, allocations: 4 kB / 0.5628 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.4294, allocations: 0.9963 MB / 0.5638 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.4296, allocations: 111.2 kB / 0.5639 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/0.4297, allocations: 8 kB / 0.5639 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.43, allocations: 19.97 kB / 0.5639 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.4301, allocations: 43.88 kB / 0.564 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.4302, allocations: 15.98 kB / 0.564 GB, free: 4.461 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002803/0.4305, allocations: 251.2 kB / 0.5642 GB, free: 4.219 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4305, allocations: 0 / 0.5642 GB, free: 4.219 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002863/0.4333, allocations: 1.099 MB / 0.5653 GB, free: 3.117 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * 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.004072/0.4374, allocations: 1.101 MB / 0.5664 GB, free: 2.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.4389, allocations: 0.6305 MB / 0.567 GB, free: 1.379 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4389, allocations: 0 / 0.567 GB, free: 1.379 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006309/0.4395, allocations: 345.9 kB / 0.5673 GB, free: 1.039 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.441, allocations: 231.6 kB / 0.5675 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.4441, allocations: 1.598 MB / 0.5691 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.4445, allocations: 392.3 kB / 0.5695 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006586/0.4451, allocations: 374.5 kB / 0.5698 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.4453, allocations: 48.48 kB / 0.5699 GB, free: 14.36 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4453, allocations: 0 / 0.5699 GB, free: 14.36 MB / 462.1 MB Notification: Performance of Templates: time 0.05632/0.5016, allocations: 37.05 MB / 0.606 GB, free: 9.219 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.427673064172268] Failed to read output from testmodel.py, exit status != 0: 0.5106401406228542 0.524925883 0.18753838499999995 Calling exit ...