Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.001503/0.001503, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001643/0.001643, allocations: 165.7 kB / 24.27 MB, free: 144 kB / 18.57 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.517/1.517, allocations: 158.6 MB / 186.1 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] 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.3118/0.3118, allocations: 36.35 MB / 274.7 MB, free: 10.72 MB / 266.7 MB " [Timeout remaining time 179] 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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.668e-05/3.905e-05, allocations: 5.688 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.117/0.117, allocations: 64.42 MB / 417.5 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01812/0.1352, allocations: 10.6 MB / 428.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008504/0.136, allocations: 31.69 kB / 428.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.1375, allocations: 385.1 kB / 428.5 MB, free: 8.082 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.1391, allocations: 0.5429 MB / 429 MB, free: 7.535 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01605/0.1551, allocations: 5.602 MB / 434.6 MB, free: 1.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002264/0.1574, allocations: 1.43 MB / 436.1 MB, free: 484 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1517/0.3091, allocations: 0.5071 MB / 436.6 MB, free: 19.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.3104, allocations: 0.7515 MB / 437.3 MB, free: 19.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006034/0.311, allocations: 0.5047 MB / 437.8 MB, free: 19.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-05/0.3111, allocations: 63.72 kB / 437.9 MB, free: 19.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01148/0.3226, allocations: 6.186 MB / 444.1 MB, free: 19.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.3229, allocations: 176.6 kB / 444.3 MB, free: 19.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005985/0.3235, allocations: 311.7 kB / 444.6 MB, free: 19.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.3337, allocations: 5.372 MB / 449.9 MB, free: 19.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3337, allocations: 0.8125 kB / 449.9 MB, free: 19.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3337, allocations: 0 / 449.9 MB, free: 19.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.3337, allocations: 3.844 kB / 449.9 MB, free: 19.85 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.005883/0.3396, allocations: 1.586 MB / 451.5 MB, free: 19.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3396, allocations: 11.38 kB / 451.5 MB, free: 19.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006788/0.3403, allocations: 215.4 kB / 451.7 MB, free: 19.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008857/0.3412, allocations: 0.5348 MB / 452.3 MB, free: 18.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.3412, allocations: 43.12 kB / 452.3 MB, free: 18.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.089e-05/0.3413, allocations: 50.75 kB / 452.4 MB, free: 18.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.3431, allocations: 0.8783 MB / 453.2 MB, free: 18.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.3431, allocations: 1.031 kB / 453.2 MB, free: 18.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/0.3432, allocations: 22.53 kB / 453.3 MB, free: 18.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.3432, allocations: 16.27 kB / 453.3 MB, free: 18.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.3451, allocations: 0.9089 MB / 454.2 MB, free: 18.65 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.3479, allocations: 2.159 MB / 456.4 MB, free: 17.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/0.3489, allocations: 372.1 kB / 456.7 MB, free: 17.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004281/0.3493, allocations: 179.4 kB / 456.9 MB, free: 17.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05338/0.4027, allocations: 16.82 MB / 473.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.4027, allocations: 38.38 kB / 473.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006314/0.4034, allocations: 95.98 kB / 473.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.545e-06/0.4034, allocations: 0 / 473.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.008663/0.412, allocations: 1.756 MB / 475.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.412, allocations: 55.41 kB / 475.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.4125, allocations: 488.6 kB / 476.1 MB, free: 8.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.4125, allocations: 32.11 kB / 476.2 MB, free: 8.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.4127, allocations: 367.9 kB / 476.5 MB, free: 8.527 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.386e-05/0.4128, allocations: 104.9 kB / 476.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.4129, allocations: 85.31 kB / 476.7 MB, free: 8.371 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.413, allocations: 367 kB / 477.1 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.4134, allocations: 166.6 kB / 477.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.4138, allocations: 207.2 kB / 477.4 MB, free: 7.742 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007816/0.4145, allocations: 381.4 kB / 477.8 MB, free: 7.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4145, allocations: 0 / 477.8 MB, free: 7.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001383/0.4159, allocations: 0.6273 MB / 478.4 MB, free: 7.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4159, allocations: 4 kB / 478.4 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.416, allocations: 4 kB / 478.4 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008176/0.4241, allocations: 1.186 MB / 479.6 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.4244, allocations: 50.77 kB / 479.7 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.4261, allocations: 0.9655 MB / 480.6 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/0.4267, allocations: 27.84 kB / 480.7 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.4267, allocations: 20.78 kB / 480.7 MB, free: 4.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004823/0.4272, allocations: 265.9 kB / 480.9 MB, free: 4.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003579/0.4276, allocations: 227.6 kB / 481.2 MB, free: 4.566 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006819/0.4282, allocations: 376.7 kB / 481.5 MB, free: 4.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.4282, allocations: 0 / 481.5 MB, free: 4.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.001186/0.4294, allocations: 0.5272 MB / 482.1 MB, free: 3.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4294, allocations: 8.219 kB / 482.1 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4294, allocations: 8 kB / 482.1 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003713/0.4298, allocations: 75.53 kB / 482.1 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.4302, allocations: 94.8 kB / 482.2 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.4313, allocations: 1.433 MB / 483.7 MB, free: 2.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.4318, allocations: 30.72 kB / 483.7 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.4319, allocations: 22.42 kB / 483.7 MB, free: 2.273 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.432, allocations: 195.3 kB / 483.9 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4321, allocations: 78.62 kB / 484 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.4344, allocations: 1.995 MB / 486 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.4344, allocations: 20.78 kB / 486 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.4344, allocations: 0 / 486 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.4344, allocations: 7.938 kB / 486 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007758/0.4352, allocations: 0.7494 MB / 486.8 MB, free: 160 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.4352, allocations: 3.984 kB / 486.8 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.4354, allocations: 42.75 kB / 486.8 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003728/0.4391, allocations: 1.406 MB / 488.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/0.4392, allocations: 11.44 kB / 488.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/0.4421, allocations: 2.141 MB / 490.4 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4421, allocations: 4 kB / 490.4 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.4447, allocations: 1.706 MB / 492.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.4449, allocations: 102.8 kB / 492.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/0.445, allocations: 10.62 kB / 492.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.4454, allocations: 31.53 kB / 492.2 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.4455, allocations: 35.81 kB / 492.3 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.4455, allocations: 16.66 kB / 492.3 MB, free: 12.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004325/0.4459, allocations: 344.2 kB / 492.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4459, allocations: 0 / 492.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003583/0.4495, allocations: 1.125 MB / 493.7 MB, free: 10.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004371/0.4539, allocations: 1.117 MB / 494.9 MB, free: 9.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002962/0.4569, allocations: 0.9089 MB / 495.8 MB, free: 8.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4569, allocations: 0 / 495.8 MB, free: 8.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.4579, allocations: 426.2 kB / 496.2 MB, free: 8.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.4597, allocations: 333.1 kB / 496.5 MB, free: 8.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.4628, allocations: 1.612 MB / 498.1 MB, free: 6.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.4633, allocations: 405.1 kB / 498.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005441/0.4638, allocations: 251.7 kB / 498.8 MB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/0.4639, allocations: 40.5 kB / 498.8 MB, free: 6.027 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4639, allocations: 0 / 498.8 MB, free: 6.027 MB / 378.7 MB Notification: Performance of Templates: time 0.07107/0.535, allocations: 41.34 MB / 0.5275 GB, free: 12.8 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.049641160992905]