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.0008863/0.0008863, allocations: 81.97 kB / 22.21 MB, free: 2.293 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.0009361/0.0009361, allocations: 160.8 kB / 25.61 MB, free: 8.492 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.8109/0.8109, allocations: 158.6 MB / 187.5 MB, free: 2.832 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.1588/0.1588, allocations: 36.35 MB / 276.2 MB, free: 14.39 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.452e-06/1.452e-06, allocations: 0 / 355 MB, free: 62.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.25e-05, allocations: 2.312 kB / 355 MB, free: 62.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.1072/0.1072, allocations: 150.4 MB / 0.4936 GB, free: 15.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004885/0.1121, allocations: 3.386 MB / 0.4969 GB, free: 12.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008/0.1129, allocations: 43.62 kB / 0.497 GB, free: 12.49 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007371/0.1137, allocations: 388.7 kB / 0.4973 GB, free: 12.11 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.1156, allocations: 1.483 MB / 0.4988 GB, free: 10.62 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.1183, allocations: 1.82 MB / 0.5006 GB, free: 8.793 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003504/0.1218, allocations: 4.364 MB / 0.5048 GB, free: 4.414 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.1232, allocations: 1.146 MB / 0.5059 GB, free: 3.238 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.1251, allocations: 2.113 MB / 0.508 GB, free: 1.121 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1516/0.2768, allocations: 1.326 MB / 0.5093 GB, free: 9.141 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007366/0.2775, allocations: 200.2 kB / 0.5095 GB, free: 9.141 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.2791, allocations: 0.5291 MB / 0.51 GB, free: 9.141 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007096/0.2798, allocations: 0.98 MB / 0.511 GB, free: 9.141 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.281, allocations: 0.9741 MB / 0.5119 GB, free: 9.141 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.2834, allocations: 2.331 MB / 0.5142 GB, free: 9.039 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2834, allocations: 1.094 kB / 0.5142 GB, free: 9.039 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2834, allocations: 2.531 kB / 0.5142 GB, free: 9.039 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.875e-05/0.2834, allocations: 0 / 0.5142 GB, free: 9.039 MB / 426.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.002974/0.2864, allocations: 2.599 MB / 0.5167 GB, free: 7.891 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.2864, allocations: 9.344 kB / 0.5167 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.288, allocations: 0.6291 MB / 0.5174 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.2892, allocations: 0.9861 MB / 0.5183 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-05/0.2893, allocations: 139.7 kB / 0.5185 GB, free: 7.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.2895, allocations: 198.3 kB / 0.5186 GB, free: 7.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.2915, allocations: 2.643 MB / 0.5212 GB, free: 5.578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.2915, allocations: 11.34 kB / 0.5212 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.2916, allocations: 75.03 kB / 0.5213 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.2917, allocations: 41.81 kB / 0.5213 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.2926, allocations: 0.6126 MB / 0.5219 GB, free: 5.539 MB / 426.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.005571/0.2981, allocations: 3.806 MB / 0.5257 GB, free: 4.641 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.3001, allocations: 0.8716 MB / 0.5265 GB, free: 4.535 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.3004, allocations: 212.7 kB / 0.5267 GB, free: 4.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-05/0.3005, allocations: 32.31 kB / 0.5267 GB, free: 4.496 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.3005, allocations: 63.89 kB / 0.5268 GB, free: 4.453 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 2.896e-06/0.3005, allocations: 0.9375 kB / 0.5268 GB, free: 4.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=100): time 0.007221/0.3077, allocations: 2.319 MB / 0.5291 GB, free: 4.289 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.3078, allocations: 116.9 kB / 0.5292 GB, free: 4.164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.3088, allocations: 0.9909 MB / 0.5302 GB, free: 19.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.3089, allocations: 54.52 kB / 0.5302 GB, free: 19.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/0.3093, allocations: 0.9258 MB / 0.5311 GB, free: 19.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.3095, allocations: 368.9 kB / 0.5315 GB, free: 19.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.3099, allocations: 284.6 kB / 0.5317 GB, free: 19.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.31, allocations: 478.3 kB / 0.5322 GB, free: 18.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.3104, allocations: 191.9 kB / 0.5324 GB, free: 18.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.3109, allocations: 0.7569 MB / 0.5331 GB, free: 17.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.3119, allocations: 1.008 MB / 0.5341 GB, free: 17.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.312, allocations: 4.656 kB / 0.5341 GB, free: 17.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002012/0.314, allocations: 1.187 MB / 0.5353 GB, free: 17.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.314, allocations: 17.22 kB / 0.5353 GB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.314, allocations: 10.53 kB / 0.5353 GB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004463/0.3185, allocations: 1.323 MB / 0.5366 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.319, allocations: 307.2 kB / 0.5369 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/0.322, allocations: 8.244 MB / 0.5449 GB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007213/0.3227, allocations: 187.1 kB / 0.5451 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/0.3228, allocations: 65.08 kB / 0.5452 GB, free: 9.078 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004268/0.3232, allocations: 322.3 kB / 0.5455 GB, free: 8.945 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004223/0.3236, allocations: 0.7756 MB / 0.5462 GB, free: 8.184 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006566/0.3243, allocations: 1.011 MB / 0.5472 GB, free: 7.434 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.723e-06/0.3243, allocations: 3.281 kB / 0.5472 GB, free: 7.434 MB / 442.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.001287/0.3256, allocations: 1.133 MB / 0.5483 GB, free: 7.273 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.3256, allocations: 12.22 kB / 0.5483 GB, free: 7.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3256, allocations: 12.62 kB / 0.5483 GB, free: 7.273 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003509/0.326, allocations: 185.5 kB / 0.5485 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.3267, allocations: 382.1 kB / 0.5489 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/0.3306, allocations: 10.61 MB / 0.5593 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006657/0.3312, allocations: 149.8 kB / 0.5594 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.3313, allocations: 65.69 kB / 0.5595 GB, free: 13 MB / 458.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.0003395/0.3316, allocations: 363 kB / 0.5598 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.3319, allocations: 180.3 kB / 0.56 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.333, allocations: 0.927 MB / 0.5609 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.333, allocations: 16.41 kB / 0.5609 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.333, allocations: 0.875 kB / 0.5609 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.333, allocations: 10.03 kB / 0.5609 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.3356, allocations: 2.168 MB / 0.563 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3356, allocations: 3.5 kB / 0.563 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.3359, allocations: 183.3 kB / 0.5632 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/0.3393, allocations: 1.052 MB / 0.5642 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.3393, allocations: 37.92 kB / 0.5643 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.3421, allocations: 8.246 MB / 0.5723 GB, free: 3.809 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3421, allocations: 6.781 kB / 0.5723 GB, free: 3.809 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.3434, allocations: 1.433 MB / 0.5737 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.3436, allocations: 163.9 kB / 0.5739 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.3437, allocations: 23.66 kB / 0.5739 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006882/0.3444, allocations: 100.2 kB / 0.574 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.3445, allocations: 95.31 kB / 0.5741 GB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/0.3446, allocations: 82.36 kB / 0.5742 GB, free: 2.965 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003206/0.3449, allocations: 0.5606 MB / 0.5747 GB, free: 2.812 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3449, allocations: 0 / 0.5747 GB, free: 2.812 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001742/0.3467, allocations: 1.15 MB / 0.5758 GB, free: 2.629 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.00036/0.347, allocations: 263.4 kB / 0.5761 GB, free: 2.523 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.349, allocations: 1.706 MB / 0.5778 GB, free: 2.113 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.349, allocations: 4.5 kB / 0.5778 GB, free: 2.113 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.3495, allocations: 438.2 kB / 0.5782 GB, free: 2.086 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.3511, allocations: 0.6304 MB / 0.5788 GB, free: 2.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.3539, allocations: 2.761 MB / 0.5815 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.3542, allocations: 349.1 kB / 0.5818 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006612/0.3548, allocations: 251.6 kB / 0.5821 GB, free: 424 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/0.3561, allocations: 0.7783 MB / 0.5828 GB, free: 356 kB / 458.7 MB Notification: Performance of SimCode: time 6.02e-07/0.3561, allocations: 4 kB / 0.5828 GB, free: 352 kB / 458.7 MB Notification: Performance of Templates: time 0.03503/0.3911, allocations: 38.57 MB / 0.6205 GB, free: 2.773 MB / 490.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.424755746033043]