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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoeffValve,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoeffValve,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008079/0.000808, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0008654/0.0008654, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.143/1.143, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2209/0.2209, allocations: 48.79 MB / 320.8 MB, free: 11.19 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.0004334/0.0004334, allocations: 13.23 kB / 391.9 MB, free: 50 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07204/0.07248, allocations: 60.26 MB / 452.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.0605/0.133, allocations: 77.36 MB / 0.5171 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1792/0.3122, allocations: 11.74 MB / 0.5286 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008317/0.3131, allocations: 26.69 kB / 0.5286 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.3141, allocations: 327.3 kB / 0.5289 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.3154, allocations: 496.9 kB / 0.5294 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01157/0.327, allocations: 4.81 MB / 0.5341 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.3289, allocations: 1.856 MB / 0.5359 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004586/0.3294, allocations: 337.4 kB / 0.5362 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004808/0.3299, allocations: 428.9 kB / 0.5366 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.3304, allocations: 486.8 kB / 0.5371 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.3304, allocations: 24.84 kB / 0.5371 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.3405, allocations: 6.288 MB / 0.5433 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.3406, allocations: 103.2 kB / 0.5434 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004258/0.3411, allocations: 400.3 kB / 0.5437 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005792/0.3468, allocations: 4.082 MB / 0.5477 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3469, allocations: 0 / 0.5477 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3469, allocations: 1.469 kB / 0.5477 GB, free: 5.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.3469, allocations: 0 / 0.5477 GB, free: 5.629 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.002973/0.3499, allocations: 1.353 MB / 0.5491 GB, free: 4.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3499, allocations: 9.5 kB / 0.5491 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.441e-05/0.35, allocations: 90.05 kB / 0.5491 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/0.3503, allocations: 121.7 kB / 0.5493 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.3508, allocations: 0.4977 MB / 0.5497 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.3508, allocations: 43.45 kB / 0.5498 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.3509, allocations: 47.44 kB / 0.5498 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008637/0.3518, allocations: 0.6139 MB / 0.5504 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3518, allocations: 4.312 kB / 0.5504 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.3518, allocations: 27.84 kB / 0.5505 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.3518, allocations: 14 kB / 0.5505 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006324/0.3525, allocations: 356.7 kB / 0.5508 GB, free: 4.266 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.002121/0.3546, allocations: 3.555 MB / 0.5543 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.355, allocations: 182.4 kB / 0.5545 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.833e-05/0.3551, allocations: 59.56 kB / 0.5545 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05437/0.4095, allocations: 32.3 MB / 0.5861 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.4095, allocations: 40.34 kB / 0.5861 GB, free: 8.488 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.894e-06/0.4095, allocations: 0 / 0.5861 GB, free: 8.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001058/0.4106, allocations: 363.6 kB / 0.5865 GB, free: 8.355 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.4107, allocations: 134.3 kB / 0.5866 GB, free: 8.199 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007115/0.4114, allocations: 0.7358 MB / 0.5873 GB, free: 7.961 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.4114, allocations: 29.39 kB / 0.5873 GB, free: 7.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.4116, allocations: 347 kB / 0.5877 GB, free: 7.793 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.4117, allocations: 46.81 kB / 0.5877 GB, free: 7.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.4117, allocations: 26.23 kB / 0.5877 GB, free: 7.742 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.4118, allocations: 316.7 kB / 0.588 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.4119, allocations: 46.72 kB / 0.5881 GB, free: 7.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.4121, allocations: 130.4 kB / 0.5882 GB, free: 7.324 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.4123, allocations: 192 kB / 0.5884 GB, free: 7.219 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4123, allocations: 7.5 kB / 0.5884 GB, free: 7.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004128/0.4127, allocations: 285.3 kB / 0.5887 GB, free: 7.117 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.046e-05/0.4128, allocations: 171.4 kB / 0.5888 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4128, allocations: 3.125 kB / 0.5888 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.4128, allocations: 4.094 kB / 0.5888 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.4131, allocations: 54.47 kB / 0.5889 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4131, allocations: 7.094 kB / 0.5889 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.4136, allocations: 56.3 kB / 0.5889 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.4136, allocations: 15.7 kB / 0.589 GB, free: 6.883 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.4136, allocations: 9.375 kB / 0.589 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002192/0.4138, allocations: 161.7 kB / 0.5891 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.4139, allocations: 2.781 kB / 0.5891 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-06/0.4139, allocations: 4.703 kB / 0.5891 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.4141, allocations: 52.72 kB / 0.5892 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4141, allocations: 6.781 kB / 0.5892 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.4144, allocations: 52.36 kB / 0.5892 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.4144, allocations: 15.44 kB / 0.5892 GB, free: 6.812 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.0001791/0.4146, allocations: 242.8 kB / 0.5895 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.4148, allocations: 82.62 kB / 0.5896 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.4153, allocations: 0.496 MB / 0.59 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4153, allocations: 3 kB / 0.59 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4153, allocations: 4 kB / 0.5901 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4153, allocations: 3.375 kB / 0.5901 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.416, allocations: 0.612 MB / 0.5907 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.416, allocations: 7.781 kB / 0.5907 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/0.4161, allocations: 23.52 kB / 0.5907 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4161, allocations: 3.062 kB / 0.5907 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4161, allocations: 3.984 kB / 0.5907 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4161, allocations: 3.469 kB / 0.5907 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4161, allocations: 0 / 0.5907 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.4165, allocations: 0.5077 MB / 0.5912 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.4167, allocations: 241.9 kB / 0.5914 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.433e-05/0.4168, allocations: 11.27 kB / 0.5914 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.4172, allocations: 15.12 kB / 0.5914 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.4172, allocations: 10.78 kB / 0.5915 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.4172, allocations: 6.375 kB / 0.5915 GB, free: 5.398 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006854/0.4179, allocations: 0.7264 MB / 0.5922 GB, free: 5.188 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4179, allocations: 0 / 0.5922 GB, free: 5.188 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002772/0.4207, allocations: 1.042 MB / 0.5932 GB, free: 4.52 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.003898/0.4246, allocations: 1.932 MB / 0.5951 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.4249, allocations: 193.1 kB / 0.5953 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4249, allocations: 1 kB / 0.5953 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.4249, allocations: 39.27 kB / 0.5953 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.4274, allocations: 459.9 kB / 0.5957 GB, free: 2.156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006934/0.4344, allocations: 6.649 MB / 0.6022 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.4348, allocations: 0.9328 MB / 0.6031 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004629/0.4352, allocations: 290.9 kB / 0.6034 GB, free: 10.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.4355, allocations: 299.2 kB / 0.6037 GB, free: 10.89 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4355, allocations: 4 kB / 0.6037 GB, free: 10.89 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.561/2.996, allocations: 47.2 MB / 0.6498 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/2.996, allocations: 194.8 kB / 0.65 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.647/6.644, allocations: 4 kB / 0.65 GB, free: 11.5 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1)