Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.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.001588/0.001588, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001767/0.001767, allocations: 169 kB / 24.82 MB, free: 9.273 MB / 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 0.8931/0.8931, allocations: 158.6 MB / 186.7 MB, free: 2.785 MB / 170.7 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.1873/0.1873, allocations: 36.34 MB / 275.4 MB, free: 10.49 MB / 266.7 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.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 354.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.197e-05, allocations: 2.312 kB / 354.3 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.2667/0.2667, allocations: 150.4 MB / 0.4929 GB, free: 1.617 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003983/0.2707, allocations: 3.38 MB / 0.4962 GB, free: 15.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004418/0.2712, allocations: 47.44 kB / 0.4962 GB, free: 15.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006861/0.2719, allocations: 381 kB / 0.4966 GB, free: 14.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.2733, allocations: 1.473 MB / 0.498 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.2753, allocations: 1.81 MB / 0.4998 GB, free: 12.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002756/0.2781, allocations: 4.378 MB / 0.5041 GB, free: 8.387 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008932/0.279, allocations: 1.145 MB / 0.5052 GB, free: 7.207 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.2805, allocations: 2.116 MB / 0.5072 GB, free: 5.086 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.2818, allocations: 1.336 MB / 0.5085 GB, free: 3.746 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.282, allocations: 204 kB / 0.5087 GB, free: 3.547 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008061/0.2828, allocations: 0.5264 MB / 0.5093 GB, free: 3.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005419/0.2833, allocations: 0.974 MB / 0.5102 GB, free: 2.043 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006611/0.284, allocations: 0.9746 MB / 0.5112 GB, free: 1.066 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.2856, allocations: 2.336 MB / 0.5134 GB, free: 14.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2856, allocations: 0 / 0.5134 GB, free: 14.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2856, allocations: 0 / 0.5134 GB, free: 14.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.2856, allocations: 0 / 0.5134 GB, free: 14.72 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.002545/0.2882, allocations: 2.592 MB / 0.516 GB, free: 12.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2882, allocations: 16.02 kB / 0.516 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.2893, allocations: 0.6267 MB / 0.5166 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009356/0.2902, allocations: 0.9972 MB / 0.5176 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/0.2903, allocations: 135.7 kB / 0.5177 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.2905, allocations: 196.6 kB / 0.5179 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.2922, allocations: 2.647 MB / 0.5205 GB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.2922, allocations: 4 kB / 0.5205 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.2924, allocations: 79.94 kB / 0.5205 GB, free: 7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.2924, allocations: 40 kB / 0.5206 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006635/0.2931, allocations: 0.6194 MB / 0.5212 GB, free: 6.34 MB / 394.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.004513/0.2976, allocations: 3.799 MB / 0.5249 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.2988, allocations: 0.8688 MB / 0.5258 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.299, allocations: 216.4 kB / 0.526 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.658e-05/0.2991, allocations: 35.28 kB / 0.526 GB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.2991, allocations: 61.39 kB / 0.526 GB, free: 1.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 2.184e-06/0.2991, allocations: 0 / 0.526 GB, free: 1.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=100): time 0.004743/0.3039, allocations: 2.335 MB / 0.5283 GB, free: 14.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002686/0.3041, allocations: 118.8 kB / 0.5284 GB, free: 14.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006136/0.3047, allocations: 1 MB / 0.5294 GB, free: 13.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.3048, allocations: 57.7 kB / 0.5295 GB, free: 13.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.3052, allocations: 0.9204 MB / 0.5304 GB, free: 12.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.3054, allocations: 360.8 kB / 0.5307 GB, free: 12.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.3056, allocations: 281 kB / 0.531 GB, free: 12.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.3057, allocations: 484.7 kB / 0.5314 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.306, allocations: 191.5 kB / 0.5316 GB, free: 11.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.3064, allocations: 0.7544 MB / 0.5324 GB, free: 10.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007251/0.3071, allocations: 1.018 MB / 0.5334 GB, free: 9.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.3071, allocations: 4 kB / 0.5334 GB, free: 9.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.001279/0.3084, allocations: 1.2 MB / 0.5345 GB, free: 7.973 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3084, allocations: 8 kB / 0.5345 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3085, allocations: 16 kB / 0.5346 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003938/0.3124, allocations: 1.326 MB / 0.5359 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.313, allocations: 303.5 kB / 0.5361 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.3158, allocations: 8.247 MB / 0.5442 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006071/0.3164, allocations: 182 kB / 0.5444 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.807e-05/0.3165, allocations: 71.95 kB / 0.5444 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003688/0.3169, allocations: 314.7 kB / 0.5447 GB, free: 13.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004523/0.3173, allocations: 0.7865 MB / 0.5455 GB, free: 12.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000694/0.318, allocations: 1.005 MB / 0.5465 GB, free: 10.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.619e-06/0.318, allocations: 4 kB / 0.5465 GB, free: 10.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.001188/0.3192, allocations: 1.136 MB / 0.5476 GB, free: 9.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3192, allocations: 12 kB / 0.5476 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3192, allocations: 12 kB / 0.5476 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.3196, allocations: 179.4 kB / 0.5478 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006801/0.3202, allocations: 387.4 kB / 0.5482 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003939/0.3242, allocations: 10.61 MB / 0.5585 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/0.3248, allocations: 155.2 kB / 0.5587 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.3248, allocations: 63.97 kB / 0.5587 GB, free: 13.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(2,18), (2,18)} Notification: Performance of prepare postOptimizeDAE: time 0.000252/0.3251, allocations: 363.6 kB / 0.5591 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.3253, allocations: 179.1 kB / 0.5593 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.3264, allocations: 0.948 MB / 0.5602 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3264, allocations: 12 kB / 0.5602 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3265, allocations: 3.938 kB / 0.5602 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3265, allocations: 7.984 kB / 0.5602 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.3288, allocations: 2.156 MB / 0.5623 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.3288, allocations: 4.438 kB / 0.5623 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.3291, allocations: 188.1 kB / 0.5625 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003185/0.3323, allocations: 1.053 MB / 0.5635 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.3323, allocations: 35.97 kB / 0.5636 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002797/0.3351, allocations: 8.255 MB / 0.5716 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3351, allocations: 7.938 kB / 0.5716 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.3364, allocations: 1.435 MB / 0.573 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.3365, allocations: 154.8 kB / 0.5732 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.175e-05/0.3366, allocations: 28 kB / 0.5732 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006087/0.3372, allocations: 107.8 kB / 0.5733 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.3373, allocations: 92.77 kB / 0.5734 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.028e-05/0.3374, allocations: 75.91 kB / 0.5735 GB, free: 14.37 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003304/0.3377, allocations: 0.5688 MB / 0.574 GB, free: 13.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3377, allocations: 0 / 0.574 GB, free: 13.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001654/0.3394, allocations: 1.146 MB / 0.5751 GB, free: 12.65 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(2,20), (2,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003709/0.3397, allocations: 263.7 kB / 0.5754 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001886/0.3416, allocations: 1.71 MB / 0.5771 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3416, allocations: 5.75 kB / 0.5771 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007573/0.3424, allocations: 432.1 kB / 0.5775 GB, free: 10.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.3439, allocations: 0.6432 MB / 0.5781 GB, free: 9.574 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.3464, allocations: 2.76 MB / 0.5808 GB, free: 6.703 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.3466, allocations: 349 kB / 0.5811 GB, free: 6.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005497/0.3472, allocations: 245.5 kB / 0.5814 GB, free: 6.098 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.3484, allocations: 0.7785 MB / 0.5821 GB, free: 5.316 MB / 458.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3484, allocations: 0 / 0.5821 GB, free: 5.316 MB / 458.7 MB Notification: Performance of Templates: time 0.1881/0.5364, allocations: 37.86 MB / 0.6191 GB, free: 102.7 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.710328870918602]