Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008658/0.0008703, allocations: 91.88 kB / 16.65 MB, free: 6.602 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.0009671/0.0009672, allocations: 187.8 kB / 17.57 MB, free: 6.195 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.344/1.344, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2807/0.2807, allocations: 48.78 MB / 320.8 MB, free: 11.11 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.0005646/0.0005648, allocations: 14.44 kB / 391.8 MB, free: 50.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1027, allocations: 60.26 MB / 452.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.08351/0.1863, allocations: 77.36 MB / 0.517 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2358/0.4221, allocations: 11.74 MB / 0.5285 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009622/0.4231, allocations: 23.38 kB / 0.5285 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009955/0.4241, allocations: 326.1 kB / 0.5288 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.4252, allocations: 495.6 kB / 0.5293 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01464/0.4399, allocations: 4.817 MB / 0.534 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002455/0.4423, allocations: 1.852 MB / 0.5358 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000536/0.4429, allocations: 341.2 kB / 0.5361 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006366/0.4435, allocations: 431.4 kB / 0.5365 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005972/0.4441, allocations: 486.5 kB / 0.537 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.4442, allocations: 23.47 kB / 0.537 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.4569, allocations: 6.284 MB / 0.5432 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.4572, allocations: 106.9 kB / 0.5433 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008494/0.458, allocations: 398 kB / 0.5436 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.4684, allocations: 4.088 MB / 0.5476 GB, free: 6.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4684, allocations: 0 / 0.5476 GB, free: 6.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4684, allocations: 5.094 kB / 0.5476 GB, free: 6.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.461e-05/0.4685, allocations: 0 / 0.5476 GB, free: 6.461 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.004814/0.4733, allocations: 1.347 MB / 0.549 GB, free: 5.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4733, allocations: 9.719 kB / 0.549 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/0.4738, allocations: 117.8 kB / 0.5491 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007917/0.4746, allocations: 0.4981 MB / 0.5496 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/0.4747, allocations: 36.12 kB / 0.5496 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.581e-05/0.4747, allocations: 56.44 kB / 0.5497 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.4759, allocations: 0.6159 MB / 0.5503 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.4759, allocations: 1.125 kB / 0.5503 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.476, allocations: 25.95 kB / 0.5503 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.476, allocations: 13.38 kB / 0.5503 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.4768, allocations: 360.1 kB / 0.5506 GB, free: 5.133 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.002698/0.4795, allocations: 3.55 MB / 0.5541 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.48, allocations: 191.6 kB / 0.5543 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.717e-05/0.4801, allocations: 61.58 kB / 0.5543 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06597/0.5461, allocations: 32.29 MB / 0.5859 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.5462, allocations: 43.16 kB / 0.5859 GB, free: 9.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.524e-06/0.5462, allocations: 0 / 0.5859 GB, free: 9.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001496/0.5477, allocations: 356.3 kB / 0.5863 GB, free: 9.285 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.5478, allocations: 130.7 kB / 0.5864 GB, free: 9.129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009407/0.5487, allocations: 0.7295 MB / 0.5871 GB, free: 8.898 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.5488, allocations: 28.14 kB / 0.5871 GB, free: 8.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.549, allocations: 357.7 kB / 0.5875 GB, free: 8.727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.5491, allocations: 49.33 kB / 0.5875 GB, free: 8.691 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.5491, allocations: 28.33 kB / 0.5875 GB, free: 8.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.5492, allocations: 317.2 kB / 0.5878 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-05/0.5493, allocations: 49 kB / 0.5879 GB, free: 8.359 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.5495, allocations: 127.5 kB / 0.588 GB, free: 8.254 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.5497, allocations: 193.8 kB / 0.5882 GB, free: 8.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5498, allocations: 0 / 0.5882 GB, free: 8.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005199/0.5503, allocations: 291.6 kB / 0.5885 GB, free: 8.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.5504, allocations: 167.5 kB / 0.5886 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.5505, allocations: 2.125 kB / 0.5886 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.5505, allocations: 3.438 kB / 0.5886 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.5508, allocations: 59.89 kB / 0.5887 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.5508, allocations: 5.438 kB / 0.5887 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006782/0.5515, allocations: 66.03 kB / 0.5888 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.5516, allocations: 10.34 kB / 0.5888 GB, free: 7.812 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.5516, allocations: 3.344 kB / 0.5888 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002815/0.5519, allocations: 155.8 kB / 0.5889 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.5519, allocations: 0.5625 kB / 0.5889 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.5519, allocations: 10.69 kB / 0.5889 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.5521, allocations: 53.44 kB / 0.589 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5521, allocations: 7.734 kB / 0.589 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.5527, allocations: 49.88 kB / 0.589 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.5527, allocations: 17.67 kB / 0.5891 GB, free: 7.746 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002353/0.5529, allocations: 241 kB / 0.5893 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.5531, allocations: 85.91 kB / 0.5894 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006329/0.5538, allocations: 0.5088 MB / 0.5899 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5538, allocations: 2.25 kB / 0.5899 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5538, allocations: 0 / 0.5899 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5538, allocations: 2.625 kB / 0.5899 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.5549, allocations: 0.6101 MB / 0.5905 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5549, allocations: 0 / 0.5905 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.555, allocations: 28.92 kB / 0.5905 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.555, allocations: 4.281 kB / 0.5905 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.555, allocations: 5.812 kB / 0.5905 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.555, allocations: 2.875 kB / 0.5905 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.555, allocations: 0 / 0.5905 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.5554, allocations: 0.5064 MB / 0.591 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.5558, allocations: 243.9 kB / 0.5912 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.5559, allocations: 4.656 kB / 0.5912 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.5564, allocations: 18.25 kB / 0.5913 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.5564, allocations: 10.52 kB / 0.5913 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.5564, allocations: 2.562 kB / 0.5913 GB, free: 6.328 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008272/0.5572, allocations: 0.7352 MB / 0.592 GB, free: 6.113 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5572, allocations: 0 / 0.592 GB, free: 6.113 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003833/0.5611, allocations: 1.037 MB / 0.593 GB, free: 5.574 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006001/0.5671, allocations: 0.9839 MB / 0.594 GB, free: 4.688 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.5675, allocations: 190.7 kB / 0.5941 GB, free: 4.559 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5676, allocations: 3.625 kB / 0.5942 GB, free: 4.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.5676, allocations: 33.61 kB / 0.5942 GB, free: 4.535 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.5706, allocations: 460 kB / 0.5946 GB, free: 4.156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.5725, allocations: 1.358 MB / 0.5959 GB, free: 2.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.573, allocations: 0.933 MB / 0.5969 GB, free: 1.879 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006188/0.5736, allocations: 286.4 kB / 0.5971 GB, free: 1.609 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.5737, allocations: 55.3 kB / 0.5972 GB, free: 1.559 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.5737, allocations: 4 kB / 0.5972 GB, free: 1.555 MB / 446.1 MB Notification: Performance of Templates: time 0.05352/0.6273, allocations: 39.15 MB / 0.6354 GB, free: 10.54 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) Environment - environmentSimulation: