Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.00137, allocations: 107.2 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 186.5 kB / 17.42 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 223.3 MB, free: 12.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2699/0.2699, allocations: 48.83 MB / 319.4 MB, free: 11.34 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.61 kB / 389.4 MB, free: 49.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09932, allocations: 59.16 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.04308/0.1424, allocations: 42.89 MB / 491.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.1554, allocations: 10.65 MB / 0.4903 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.156, allocations: 15.88 kB / 0.4903 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006838/0.1568, allocations: 194.9 kB / 0.4905 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005671/0.1573, allocations: 274.3 kB / 0.4908 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01214/0.1695, allocations: 3.774 MB / 0.4944 GB, free: 288 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.1708, allocations: 0.9961 MB / 0.4954 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/0.1712, allocations: 215.1 kB / 0.4956 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004876/0.1717, allocations: 250.9 kB / 0.4959 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004827/0.1722, allocations: 298.7 kB / 0.4961 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.1723, allocations: 20 kB / 0.4962 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/0.1841, allocations: 6.165 MB / 0.5022 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.1843, allocations: 71.62 kB / 0.5022 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003381/0.1847, allocations: 218.9 kB / 0.5025 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008551/0.1932, allocations: 3.777 MB / 0.5061 GB, free: 4.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1933, allocations: 0 / 0.5061 GB, free: 4.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1933, allocations: 0 / 0.5061 GB, free: 4.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.1933, allocations: 0 / 0.5061 GB, free: 4.273 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.003392/0.1967, allocations: 1.177 MB / 0.5073 GB, free: 3.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1967, allocations: 12.03 kB / 0.5073 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.197, allocations: 68.34 kB / 0.5074 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.1975, allocations: 374.1 kB / 0.5077 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.1975, allocations: 25.03 kB / 0.5078 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.1976, allocations: 28.38 kB / 0.5078 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007764/0.1984, allocations: 388.9 kB / 0.5082 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1984, allocations: 7.984 kB / 0.5082 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.1984, allocations: 8 kB / 0.5082 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1984, allocations: 8 kB / 0.5082 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006424/0.1991, allocations: 261.9 kB / 0.5084 GB, free: 1.824 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.002106/0.2012, allocations: 2.035 MB / 0.5104 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.2016, allocations: 150.4 kB / 0.5106 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.2018, allocations: 76.81 kB / 0.5106 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2345/0.4363, allocations: 31.97 MB / 0.5418 GB, free: 74.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.4364, allocations: 32.66 kB / 0.5419 GB, free: 74.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.4364, allocations: 0 / 0.5419 GB, free: 74.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002528/0.439, allocations: 0.5752 MB / 0.5424 GB, free: 74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.439, allocations: 52.62 kB / 0.5425 GB, free: 73.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.4395, allocations: 406.3 kB / 0.5429 GB, free: 73.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4395, allocations: 29.08 kB / 0.5429 GB, free: 73.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.4396, allocations: 217.4 kB / 0.5431 GB, free: 73.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.4397, allocations: 55.83 kB / 0.5432 GB, free: 73.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/0.4398, allocations: 44.72 kB / 0.5432 GB, free: 73.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.4398, allocations: 354.1 kB / 0.5435 GB, free: 73.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.44, allocations: 75.41 kB / 0.5436 GB, free: 73.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.4402, allocations: 109.2 kB / 0.5437 GB, free: 73.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.4406, allocations: 181.2 kB / 0.5439 GB, free: 73.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4406, allocations: 0 / 0.5439 GB, free: 73.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005917/0.4412, allocations: 308 kB / 0.5442 GB, free: 73.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4412, allocations: 4.5 kB / 0.5442 GB, free: 73.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4412, allocations: 1.688 kB / 0.5442 GB, free: 73.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/0.4438, allocations: 334.9 kB / 0.5445 GB, free: 73.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.444, allocations: 48.55 kB / 0.5446 GB, free: 73.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007491/0.4448, allocations: 0.654 MB / 0.5452 GB, free: 72.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.4451, allocations: 40.94 kB / 0.5452 GB, free: 72.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.4452, allocations: 9.922 kB / 0.5453 GB, free: 72.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002227/0.4454, allocations: 163.5 kB / 0.5454 GB, free: 72.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001692/0.4456, allocations: 122 kB / 0.5455 GB, free: 72.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002875/0.4459, allocations: 184.9 kB / 0.5457 GB, free: 72.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.4459, allocations: 0 / 0.5457 GB, free: 72.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0007382/0.4466, allocations: 304.2 kB / 0.546 GB, free: 72.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.4467, allocations: 9.016 kB / 0.546 GB, free: 72.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.4467, allocations: 2.875 kB / 0.546 GB, free: 72.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.447, allocations: 78.09 kB / 0.5461 GB, free: 72.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.4473, allocations: 65.48 kB / 0.5461 GB, free: 72.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.4487, allocations: 1.453 MB / 0.5476 GB, free: 70.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.449, allocations: 30.02 kB / 0.5476 GB, free: 70.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.4491, allocations: 10.06 kB / 0.5476 GB, free: 70.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (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 (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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 9.665e-05/0.4492, allocations: 191.5 kB / 0.5478 GB, free: 70.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.4492, allocations: 43.81 kB / 0.5478 GB, free: 70.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.4505, allocations: 0.9088 MB / 0.5487 GB, free: 70.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.4505, allocations: 7.797 kB / 0.5487 GB, free: 70.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.4505, allocations: 0 / 0.5487 GB, free: 70.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4505, allocations: 7.578 kB / 0.5487 GB, free: 70.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.451, allocations: 0.5408 MB / 0.5492 GB, free: 69.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.451, allocations: 1.312 kB / 0.5493 GB, free: 69.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-05/0.4511, allocations: 23.66 kB / 0.5493 GB, free: 69.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/0.4531, allocations: 0.8658 MB / 0.5501 GB, free: 69.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.4531, allocations: 6 kB / 0.5501 GB, free: 69.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007794/0.4539, allocations: 1.081 MB / 0.5512 GB, free: 68.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4539, allocations: 0 / 0.5512 GB, free: 68.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009459/0.4549, allocations: 0.7924 MB / 0.552 GB, free: 68.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.455, allocations: 132.7 kB / 0.5521 GB, free: 68.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.455, allocations: 15.22 kB / 0.5521 GB, free: 68.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.4553, allocations: 22.23 kB / 0.5521 GB, free: 68.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.4553, allocations: 20.44 kB / 0.5521 GB, free: 68.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.4554, allocations: 7.562 kB / 0.5521 GB, free: 68.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003168/0.4557, allocations: 332.8 kB / 0.5525 GB, free: 67.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4557, allocations: 1.125 kB / 0.5525 GB, free: 67.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002717/0.4584, allocations: 0.9539 MB / 0.5534 GB, free: 67.76 MB / 414.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: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003291/0.4617, allocations: 0.9726 MB / 0.5543 GB, free: 67.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.4631, allocations: 488.9 kB / 0.5548 GB, free: 67.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4631, allocations: 3.969 kB / 0.5548 GB, free: 67.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.4634, allocations: 181.3 kB / 0.555 GB, free: 67.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.4646, allocations: 218.4 kB / 0.5552 GB, free: 67.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.4656, allocations: 1.058 MB / 0.5562 GB, free: 66.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.4658, allocations: 0.8458 MB / 0.5571 GB, free: 65.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.4661, allocations: 164.4 kB / 0.5572 GB, free: 65.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.4662, allocations: 31.19 kB / 0.5572 GB, free: 65.49 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4662, allocations: 0 / 0.5572 GB, free: 65.49 MB / 414.1 MB Notification: Performance of Templates: time 0.0344/0.5006, allocations: 35.17 MB / 0.5916 GB, free: 31.85 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1)