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.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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008586/0.0008586, allocations: 89.3 kB / 16.31 MB, free: 5.637 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.001146/0.001146, allocations: 178.1 kB / 17.2 MB, free: 5.559 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.722/1.722, allocations: 205.4 MB / 223.4 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5713/0.5713, allocations: 48.77 MB / 320.4 MB, free: 3.801 MB / 254.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.0006296/0.0006298, allocations: 20 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1429, allocations: 60.26 MB / 451.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.325/0.4679, allocations: 66.03 MB / 0.5053 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.483, allocations: 11.2 MB / 0.5163 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.4841, allocations: 20.75 kB / 0.5163 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.4854, allocations: 324.2 kB / 0.5166 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.4871, allocations: 0.534 MB / 0.5171 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01844/0.5056, allocations: 4.266 MB / 0.5213 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003245/0.5088, allocations: 1.571 MB / 0.5228 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.5099, allocations: 463.5 kB / 0.5233 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.5112, allocations: 475 kB / 0.5237 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007917/0.512, allocations: 0.5406 MB / 0.5242 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.738e-05/0.5121, allocations: 38.69 kB / 0.5243 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01421/0.5263, allocations: 6.112 MB / 0.5302 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.5267, allocations: 135.4 kB / 0.5304 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006306/0.5274, allocations: 181.3 kB / 0.5305 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008037/0.5354, allocations: 2.869 MB / 0.5334 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/0.5355, allocations: 0 / 0.5334 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5355, allocations: 0 / 0.5334 GB, free: 14.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.5355, allocations: 0 / 0.5334 GB, free: 14.74 MB / 414.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.005794/0.5413, allocations: 1.672 MB / 0.535 GB, free: 13.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.5413, allocations: 15.91 kB / 0.535 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.5418, allocations: 126.9 kB / 0.5351 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007762/0.5426, allocations: 0.5258 MB / 0.5356 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.5426, allocations: 41.31 kB / 0.5357 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/0.5427, allocations: 48 kB / 0.5357 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.5445, allocations: 0.845 MB / 0.5365 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5445, allocations: 0 / 0.5365 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.077e-05/0.5446, allocations: 24 kB / 0.5366 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.5446, allocations: 12 kB / 0.5366 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.5465, allocations: 0.8625 MB / 0.5374 GB, free: 10.44 MB / 414.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.003502/0.55, allocations: 3.546 MB / 0.5409 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.5511, allocations: 429.2 kB / 0.5413 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.5515, allocations: 212.8 kB / 0.5415 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05947/0.611, allocations: 32.3 MB / 0.573 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.6111, allocations: 39.19 kB / 0.5731 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006704/0.6117, allocations: 99.47 kB / 0.5732 GB, free: 1.648 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 4.939e-06/0.6118, allocations: 0 / 0.5732 GB, free: 1.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.00794/0.6197, allocations: 1.86 MB / 0.575 GB, free: 15.76 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.6198, allocations: 55.41 kB / 0.575 GB, free: 15.69 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008659/0.6207, allocations: 0.6139 MB / 0.5756 GB, free: 15.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.6207, allocations: 29.7 kB / 0.5757 GB, free: 15.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.621, allocations: 344 kB / 0.576 GB, free: 14.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.6211, allocations: 106.5 kB / 0.5761 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.6212, allocations: 8 kB / 0.5761 GB, free: 14.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.6213, allocations: 318 kB / 0.5764 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.6217, allocations: 160.5 kB / 0.5766 GB, free: 14.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.6221, allocations: 214.3 kB / 0.5768 GB, free: 13.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.6225, allocations: 179.9 kB / 0.5769 GB, free: 13.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6225, allocations: 0 / 0.5769 GB, free: 13.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001339/0.6239, allocations: 0.6259 MB / 0.5775 GB, free: 13.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-05/0.624, allocations: 137.6 kB / 0.5777 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.624, allocations: 0 / 0.5777 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00671/0.6307, allocations: 1.119 MB / 0.5788 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.6309, allocations: 52.72 kB / 0.5788 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.6324, allocations: 0.958 MB / 0.5798 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.633, allocations: 55.86 kB / 0.5798 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.6331, allocations: 23.94 kB / 0.5798 GB, free: 10.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/0.6331, allocations: 7.938 kB / 0.5798 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001043/0.6342, allocations: 452.3 kB / 0.5803 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.6342, allocations: 4 kB / 0.5803 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/0.6345, allocations: 69.44 kB / 0.5803 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.6349, allocations: 99.86 kB / 0.5804 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.6362, allocations: 1.447 MB / 0.5819 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.6368, allocations: 55.91 kB / 0.5819 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.6368, allocations: 15.98 kB / 0.5819 GB, free: 8.402 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 18} Notification: Performance of prepare postOptimizeDAE: time 0.0002971/0.6371, allocations: 248.1 kB / 0.5822 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.6373, allocations: 79.06 kB / 0.5822 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/0.64, allocations: 2.064 MB / 0.5842 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.64, allocations: 19.98 kB / 0.5843 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.64, allocations: 3.984 kB / 0.5843 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.64, allocations: 3.953 kB / 0.5843 GB, free: 5.977 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000991/0.641, allocations: 0.9426 MB / 0.5852 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.641, allocations: 0 / 0.5852 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.6412, allocations: 47.97 kB / 0.5852 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005266/0.6465, allocations: 2.765 MB / 0.5879 GB, free: 2.172 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.6465, allocations: 12 kB / 0.588 GB, free: 2.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.6488, allocations: 2.067 MB / 0.59 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6488, allocations: 0 / 0.59 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.6511, allocations: 1.775 MB / 0.5917 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.6513, allocations: 179.6 kB / 0.5919 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.6515, allocations: 15.95 kB / 0.5919 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.6519, allocations: 55.8 kB / 0.5919 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.652, allocations: 36.33 kB / 0.592 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.6521, allocations: 19.98 kB / 0.592 GB, free: 13.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005076/0.6526, allocations: 435 kB / 0.5924 GB, free: 13.53 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6526, allocations: 0 / 0.5924 GB, free: 13.53 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003162/0.6557, allocations: 1.097 MB / 0.5935 GB, free: 12.43 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.004111/0.6599, allocations: 0.996 MB / 0.5945 GB, free: 11.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002208/0.6621, allocations: 0.9269 MB / 0.5954 GB, free: 10.49 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6621, allocations: 4.312 kB / 0.5954 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009516/0.6631, allocations: 0.4959 MB / 0.5959 GB, free: 9.984 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.6651, allocations: 427.3 kB / 0.5963 GB, free: 9.574 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.6678, allocations: 1.892 MB / 0.5981 GB, free: 7.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.6684, allocations: 0.9949 MB / 0.5991 GB, free: 6.633 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00062/0.669, allocations: 272.4 kB / 0.5993 GB, free: 6.367 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.6691, allocations: 43.44 kB / 0.5994 GB, free: 6.324 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6691, allocations: 0 / 0.5994 GB, free: 6.324 MB / 478.1 MB Notification: Performance of Templates: time 0.3773/1.046, allocations: 43.28 MB / 0.6416 GB, free: 167.3 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: