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.001383/0.001383, allocations: 83.84 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.001504/0.001504, allocations: 168 kB / 23.96 MB, free: 4.145 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.326/1.326, allocations: 158.6 MB / 185.7 MB, free: 6.418 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.2721/0.2721, allocations: 36.34 MB / 274.3 MB, free: 0.6367 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.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 1.433e-06/1.433e-06, allocations: 0 / 414.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.526e-05, allocations: 2.281 kB / 414.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.2512/0.2512, allocations: 64.41 MB / 479.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.2647, allocations: 10.61 MB / 489.9 MB, free: 15.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007048/0.2654, allocations: 32.22 kB / 489.9 MB, free: 15.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.2666, allocations: 391.1 kB / 490.3 MB, free: 15.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.2677, allocations: 0.5449 MB / 490.8 MB, free: 14.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01482/0.2825, allocations: 5.598 MB / 496.4 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.2846, allocations: 1.434 MB / 497.9 MB, free: 13.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007357/0.2854, allocations: 499.2 kB / 498.3 MB, free: 13.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.2865, allocations: 0.7513 MB / 499.1 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007567/0.2872, allocations: 0.5074 MB / 499.6 MB, free: 13.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.2873, allocations: 61.81 kB / 499.7 MB, free: 13.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.2991, allocations: 6.189 MB / 0.494 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.2993, allocations: 174 kB / 0.4942 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006458/0.3, allocations: 313.2 kB / 0.4945 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009375/0.3093, allocations: 5.364 MB / 0.4997 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3094, allocations: 0 / 0.4997 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3094, allocations: 0 / 0.4997 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3094, allocations: 0 / 0.4997 GB, free: 10.81 MB / 398.1 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.004984/0.3143, allocations: 1.589 MB / 0.5012 GB, free: 9.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3144, allocations: 10.53 kB / 0.5013 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004935/0.3149, allocations: 135.2 kB / 0.5014 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007446/0.3156, allocations: 0.5181 MB / 0.5019 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.3157, allocations: 40 kB / 0.5019 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.894e-05/0.3157, allocations: 47.84 kB / 0.502 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.3175, allocations: 0.8907 MB / 0.5028 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.3175, allocations: 384 / 0.5028 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.3176, allocations: 25.12 kB / 0.5029 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3176, allocations: 17.58 kB / 0.5029 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.3196, allocations: 0.9034 MB / 0.5038 GB, free: 8.238 MB / 398.1 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.002432/0.322, allocations: 2.142 MB / 0.5059 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/0.3229, allocations: 370.7 kB / 0.5062 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/0.3233, allocations: 189.9 kB / 0.5064 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0594/0.3827, allocations: 16.81 MB / 0.5228 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.3827, allocations: 38.5 kB / 0.5228 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006499/0.3834, allocations: 87.52 kB / 0.5229 GB, free: 7.426 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.3834, allocations: 4 kB / 0.5229 GB, free: 7.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.009577/0.393, allocations: 1.7 MB / 0.5246 GB, free: 5.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.393, allocations: 63.39 kB / 0.5247 GB, free: 5.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000595/0.3936, allocations: 495.1 kB / 0.5251 GB, free: 5.148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.3937, allocations: 29.7 kB / 0.5252 GB, free: 5.113 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.3939, allocations: 364.2 kB / 0.5255 GB, free: 4.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.3941, allocations: 113.5 kB / 0.5256 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.3942, allocations: 79.97 kB / 0.5257 GB, free: 4.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3944, allocations: 367.7 kB / 0.526 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.3949, allocations: 162.1 kB / 0.5262 GB, free: 4.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.3954, allocations: 206.3 kB / 0.5264 GB, free: 3.812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000983/0.3963, allocations: 390 kB / 0.5268 GB, free: 3.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3963, allocations: 0 / 0.5268 GB, free: 3.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001627/0.398, allocations: 0.6107 MB / 0.5274 GB, free: 2.812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.398, allocations: 4 kB / 0.5274 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.398, allocations: 4 kB / 0.5274 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008629/0.4066, allocations: 1.187 MB / 0.5285 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.4069, allocations: 51.33 kB / 0.5286 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.4089, allocations: 0.9606 MB / 0.5295 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.4094, allocations: 35.97 kB / 0.5295 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.4095, allocations: 18.84 kB / 0.5296 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000596/0.4101, allocations: 271 kB / 0.5298 GB, free: 276 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004755/0.4105, allocations: 215.3 kB / 0.53 GB, free: 32 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009312/0.4115, allocations: 375.9 kB / 0.5304 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-06/0.4115, allocations: 4 kB / 0.5304 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.001437/0.4129, allocations: 0.5126 MB / 0.5309 GB, free: 15.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4129, allocations: 7.938 kB / 0.5309 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4129, allocations: 4.281 kB / 0.5309 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/0.4133, allocations: 68.8 kB / 0.531 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.4137, allocations: 89.73 kB / 0.5311 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.4154, allocations: 1.436 MB / 0.5325 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.4158, allocations: 23.97 kB / 0.5325 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.4159, allocations: 18.64 kB / 0.5325 GB, free: 13.4 MB / 430.1 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.0001886/0.4161, allocations: 215.3 kB / 0.5327 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4162, allocations: 59.62 kB / 0.5328 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/0.4193, allocations: 1.996 MB / 0.5347 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.4193, allocations: 23.97 kB / 0.5347 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.4193, allocations: 0 / 0.5347 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4193, allocations: 7.922 kB / 0.5347 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009784/0.4203, allocations: 0.7557 MB / 0.5355 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4203, allocations: 0 / 0.5355 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.4205, allocations: 43.33 kB / 0.5355 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003557/0.4241, allocations: 1.404 MB / 0.5369 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.4241, allocations: 16 kB / 0.5369 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/0.4267, allocations: 2.123 MB / 0.539 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4268, allocations: 3.984 kB / 0.539 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.4293, allocations: 1.695 MB / 0.5406 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.4294, allocations: 95.14 kB / 0.5407 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.4295, allocations: 12 kB / 0.5407 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.4299, allocations: 23.97 kB / 0.5408 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.43, allocations: 39.7 kB / 0.5408 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.4301, allocations: 16.88 kB / 0.5408 GB, free: 4.812 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000432/0.4305, allocations: 350.8 kB / 0.5412 GB, free: 4.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4305, allocations: 0 / 0.5412 GB, free: 4.469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002981/0.4335, allocations: 1.127 MB / 0.5423 GB, free: 3.34 MB / 430.1 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.003672/0.4371, allocations: 1.128 MB / 0.5434 GB, free: 2.289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002803/0.4399, allocations: 0.8964 MB / 0.5442 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.4399, allocations: 0 / 0.5442 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.441, allocations: 415.8 kB / 0.5446 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.4427, allocations: 308.4 kB / 0.5449 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.4453, allocations: 1.597 MB / 0.5465 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.4457, allocations: 405.1 kB / 0.5469 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004778/0.4462, allocations: 255.2 kB / 0.5471 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.4463, allocations: 32.5 kB / 0.5471 GB, free: 14.36 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4463, allocations: 4 kB / 0.5471 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Templates: time 0.06527/0.5115, allocations: 41.16 MB / 0.5873 GB, free: 5.211 MB / 478.1 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: 8.241873737424612] Failed to read output from testmodel.py, exit status != 0: 0.520596481859684 0.535238536 0.22261344300000002 Calling exit ...