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.001097/0.001097, allocations: 112.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.0009841/0.0009841, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.062/1.062, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2104/0.2104, allocations: 48.84 MB / 319.5 MB, free: 11.3 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.001268/0.001268, allocations: 67.89 kB / 389.5 MB, free: 49.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06827/0.06955, allocations: 59.16 MB / 448.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.05858/0.1282, allocations: 78.7 MB / 0.515 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1615/0.2897, allocations: 11.92 MB / 0.5266 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007581/0.2905, allocations: 28.88 kB / 0.5266 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000924/0.2914, allocations: 333 kB / 0.5269 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009176/0.2924, allocations: 490.7 kB / 0.5274 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.3027, allocations: 4.813 MB / 0.5321 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.3043, allocations: 1.862 MB / 0.5339 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003909/0.3047, allocations: 346.9 kB / 0.5343 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004146/0.3051, allocations: 435.6 kB / 0.5347 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.3056, allocations: 494.1 kB / 0.5352 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.3056, allocations: 26.38 kB / 0.5352 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00893/0.3146, allocations: 6.281 MB / 0.5413 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.3147, allocations: 111.3 kB / 0.5414 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.315, allocations: 381.6 kB / 0.5418 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00435/0.3194, allocations: 4.107 MB / 0.5458 GB, free: 5.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3194, allocations: 0 / 0.5458 GB, free: 5.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3194, allocations: 1.094 kB / 0.5458 GB, free: 5.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.3194, allocations: 0 / 0.5458 GB, free: 5.84 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.002493/0.3219, allocations: 1.49 MB / 0.5472 GB, free: 5.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3219, allocations: 10 kB / 0.5473 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.878e-05/0.322, allocations: 89.97 kB / 0.5473 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003063/0.3223, allocations: 116.5 kB / 0.5475 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.3228, allocations: 0.4996 MB / 0.5479 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3228, allocations: 40.19 kB / 0.548 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.3229, allocations: 51.19 kB / 0.548 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008395/0.3237, allocations: 0.6185 MB / 0.5486 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3237, allocations: 1.094 kB / 0.5486 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.3238, allocations: 20.34 kB / 0.5487 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3238, allocations: 13.31 kB / 0.5487 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006665/0.3245, allocations: 362.2 kB / 0.549 GB, free: 4.434 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.002182/0.3267, allocations: 3.541 MB / 0.5525 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.327, allocations: 188.8 kB / 0.5527 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.3271, allocations: 56.42 kB / 0.5527 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05116/0.3783, allocations: 32 MB / 0.584 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.3783, allocations: 32.94 kB / 0.584 GB, free: 8.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.3783, allocations: 0 / 0.584 GB, free: 8.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001088/0.3794, allocations: 358.7 kB / 0.5843 GB, free: 8.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.3795, allocations: 138.1 kB / 0.5845 GB, free: 8.688 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006701/0.3802, allocations: 0.7251 MB / 0.5852 GB, free: 8.461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3802, allocations: 29.39 kB / 0.5852 GB, free: 8.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.3804, allocations: 352.4 kB / 0.5855 GB, free: 8.289 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.3804, allocations: 42.95 kB / 0.5856 GB, free: 8.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.3805, allocations: 58.86 kB / 0.5856 GB, free: 8.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.3806, allocations: 313.5 kB / 0.5859 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.3807, allocations: 60.64 kB / 0.586 GB, free: 7.906 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3808, allocations: 128.6 kB / 0.5861 GB, free: 7.801 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.3811, allocations: 193.2 kB / 0.5863 GB, free: 7.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3811, allocations: 7.938 kB / 0.5863 GB, free: 7.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003882/0.3815, allocations: 294.1 kB / 0.5866 GB, free: 7.594 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3815, allocations: 5.562 kB / 0.5866 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3815, allocations: 4.625 kB / 0.5866 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3815, allocations: 5.094 kB / 0.5866 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.3818, allocations: 54.52 kB / 0.5866 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3818, allocations: 7.938 kB / 0.5867 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.3823, allocations: 63.11 kB / 0.5867 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.3823, allocations: 13.47 kB / 0.5867 GB, free: 7.539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000182/0.3825, allocations: 158.6 kB / 0.5869 GB, free: 7.453 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001357/0.3827, allocations: 178.1 kB / 0.587 GB, free: 7.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002116/0.3829, allocations: 244.2 kB / 0.5873 GB, free: 7.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.3829, allocations: 0 / 0.5873 GB, free: 7.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003546/0.3832, allocations: 296.7 kB / 0.5876 GB, free: 6.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.657e-06/0.3833, allocations: 10.77 kB / 0.5876 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3833, allocations: 11.59 kB / 0.5876 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-06/0.3833, allocations: 5.75 kB / 0.5876 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.3835, allocations: 53.97 kB / 0.5876 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3835, allocations: 10.38 kB / 0.5877 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.3838, allocations: 26.42 kB / 0.5877 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3839, allocations: 15.03 kB / 0.5877 GB, free: 6.949 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.0001068/0.384, allocations: 201.1 kB / 0.5879 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.3841, allocations: 77.97 kB / 0.588 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.3846, allocations: 0.5021 MB / 0.5884 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3846, allocations: 0 / 0.5884 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3846, allocations: 4 kB / 0.5885 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3846, allocations: 0 / 0.5885 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006533/0.3853, allocations: 0.6243 MB / 0.5891 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3853, allocations: 1.562 kB / 0.5891 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.3854, allocations: 22.98 kB / 0.5891 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3854, allocations: 4 kB / 0.5891 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3854, allocations: 3.984 kB / 0.5891 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3854, allocations: 4 kB / 0.5891 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3854, allocations: 0 / 0.5891 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.3857, allocations: 0.5132 MB / 0.5896 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.3859, allocations: 151.4 kB / 0.5897 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.386, allocations: 30.16 kB / 0.5898 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.3864, allocations: 11.94 kB / 0.5898 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.3864, allocations: 14.61 kB / 0.5898 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.3864, allocations: 7.25 kB / 0.5898 GB, free: 5.027 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007188/0.3871, allocations: 0.732 MB / 0.5905 GB, free: 4.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3871, allocations: 0 / 0.5905 GB, free: 4.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002811/0.39, allocations: 1.043 MB / 0.5915 GB, free: 3.488 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.003441/0.3934, allocations: 1.939 MB / 0.5934 GB, free: 1.656 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.3937, allocations: 203.7 kB / 0.5936 GB, free: 1.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3938, allocations: 0 / 0.5936 GB, free: 1.523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.648e-05/0.3938, allocations: 34.17 kB / 0.5937 GB, free: 1.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.396, allocations: 456.1 kB / 0.5941 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006963/0.403, allocations: 6.627 MB / 0.6006 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.4034, allocations: 0.9291 MB / 0.6015 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004487/0.4039, allocations: 286.5 kB / 0.6017 GB, free: 9.957 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.4041, allocations: 298.8 kB / 0.602 GB, free: 9.883 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4041, allocations: 0 / 0.602 GB, free: 9.883 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.54/1.944, allocations: 47.37 MB / 0.6483 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/1.944, allocations: 199.2 kB / 0.6485 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.016/5.961, allocations: 0 / 0.6485 GB, free: 10.31 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)