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.001025/0.001025, allocations: 117.2 kB / 16.63 MB, free: 6.805 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.001086/0.001086, allocations: 189.8 kB / 17.55 MB, free: 5.926 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.14/1.14, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2268/0.2268, allocations: 48.84 MB / 319.6 MB, free: 11.27 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.001244/0.001244, allocations: 64.75 kB / 389.6 MB, free: 48.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07343/0.07469, allocations: 59.16 MB / 448.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.05811/0.1328, allocations: 77.79 MB / 0.5143 GB, free: 12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.1442, allocations: 11.26 MB / 0.5252 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004621/0.1447, allocations: 23.81 kB / 0.5253 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009026/0.1457, allocations: 346 kB / 0.5256 GB, free: 348 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1625/0.3082, allocations: 472.5 kB / 0.526 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0117/0.3199, allocations: 5.23 MB / 0.5312 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.3213, allocations: 1.375 MB / 0.5325 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.3217, allocations: 401.5 kB / 0.5329 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.3222, allocations: 490.8 kB / 0.5334 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.3227, allocations: 484.7 kB / 0.5338 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.06e-05/0.3227, allocations: 43 kB / 0.5339 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008766/0.3315, allocations: 6.279 MB / 0.54 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.524e-05/0.3316, allocations: 127.2 kB / 0.5401 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.332, allocations: 394.1 kB / 0.5405 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004495/0.3365, allocations: 4.12 MB / 0.5445 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.269e-06/0.3365, allocations: 0 / 0.5445 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3365, allocations: 1 kB / 0.5445 GB, free: 5.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.3365, allocations: 0 / 0.5445 GB, free: 5.527 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.002632/0.3391, allocations: 1.484 MB / 0.546 GB, free: 4.703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3392, allocations: 12.8 kB / 0.546 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.547e-05/0.3393, allocations: 91.72 kB / 0.5461 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.3396, allocations: 118.8 kB / 0.5462 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.3401, allocations: 0.4996 MB / 0.5467 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.3401, allocations: 35.19 kB / 0.5467 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.3402, allocations: 50.91 kB / 0.5467 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008605/0.341, allocations: 0.6151 MB / 0.5473 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.341, allocations: 8.656 kB / 0.5473 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.3411, allocations: 21.94 kB / 0.5474 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.3411, allocations: 13.41 kB / 0.5474 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006472/0.3418, allocations: 353 kB / 0.5477 GB, free: 4.121 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.002276/0.344, allocations: 3.56 MB / 0.5512 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.3444, allocations: 182.3 kB / 0.5514 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.679e-05/0.3445, allocations: 59.58 kB / 0.5514 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05221/0.3967, allocations: 31.99 MB / 0.5827 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.3968, allocations: 42.94 kB / 0.5827 GB, free: 9.309 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.3968, allocations: 0 / 0.5827 GB, free: 9.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001133/0.3979, allocations: 360.5 kB / 0.583 GB, free: 9.176 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.398, allocations: 128.5 kB / 0.5832 GB, free: 9.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006789/0.3986, allocations: 0.7299 MB / 0.5839 GB, free: 8.789 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3987, allocations: 30.11 kB / 0.5839 GB, free: 8.758 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.3989, allocations: 359.5 kB / 0.5843 GB, free: 8.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.3989, allocations: 39.02 kB / 0.5843 GB, free: 8.586 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/0.399, allocations: 60.31 kB / 0.5843 GB, free: 8.555 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.3991, allocations: 312.1 kB / 0.5846 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/0.3992, allocations: 58.88 kB / 0.5847 GB, free: 8.234 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.3993, allocations: 132.6 kB / 0.5848 GB, free: 8.125 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.3996, allocations: 191.2 kB / 0.585 GB, free: 8.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3996, allocations: 6.906 kB / 0.585 GB, free: 8.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003842/0.4, allocations: 286.8 kB / 0.5853 GB, free: 7.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.4, allocations: 6.281 kB / 0.5853 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.4, allocations: 7.562 kB / 0.5853 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4, allocations: 3.219 kB / 0.5853 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.4003, allocations: 54.62 kB / 0.5854 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.4003, allocations: 9.141 kB / 0.5854 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.4008, allocations: 57.03 kB / 0.5854 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.4008, allocations: 15.3 kB / 0.5854 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001615/0.401, allocations: 167 kB / 0.5856 GB, free: 7.777 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001294/0.4011, allocations: 178.3 kB / 0.5858 GB, free: 7.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002073/0.4013, allocations: 242.4 kB / 0.586 GB, free: 7.391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.4013, allocations: 2.281 kB / 0.586 GB, free: 7.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000348/0.4017, allocations: 294.1 kB / 0.5863 GB, free: 7.297 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.4017, allocations: 7.844 kB / 0.5863 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.4017, allocations: 4.938 kB / 0.5863 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.4017, allocations: 5.375 kB / 0.5863 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.4019, allocations: 65.7 kB / 0.5864 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4019, allocations: 5.094 kB / 0.5864 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.4023, allocations: 30.95 kB / 0.5864 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.4023, allocations: 16.38 kB / 0.5864 GB, free: 7.27 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 9.24e-05/0.4024, allocations: 195.5 kB / 0.5866 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.4025, allocations: 80.81 kB / 0.5867 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005035/0.4031, allocations: 0.5035 MB / 0.5872 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4031, allocations: 4 kB / 0.5872 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4031, allocations: 0 / 0.5872 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4031, allocations: 0 / 0.5872 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006584/0.4038, allocations: 0.6163 MB / 0.5878 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4038, allocations: 5.812 kB / 0.5878 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.4038, allocations: 22.89 kB / 0.5878 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4039, allocations: 1.5 kB / 0.5878 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4039, allocations: 4 kB / 0.5878 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.4039, allocations: 3.984 kB / 0.5878 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4039, allocations: 4 kB / 0.5878 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.4042, allocations: 0.5094 MB / 0.5883 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.4043, allocations: 142.8 kB / 0.5884 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.4044, allocations: 42.77 kB / 0.5885 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.4048, allocations: 12 kB / 0.5885 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.4048, allocations: 7.984 kB / 0.5885 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4048, allocations: 6.438 kB / 0.5885 GB, free: 5.418 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006842/0.4055, allocations: 0.7258 MB / 0.5892 GB, free: 4.883 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4055, allocations: 0 / 0.5892 GB, free: 4.883 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002915/0.4085, allocations: 1.048 MB / 0.5902 GB, free: 3.875 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.003454/0.4119, allocations: 1.941 MB / 0.5921 GB, free: 2.043 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.4123, allocations: 212.7 kB / 0.5923 GB, free: 1.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4123, allocations: 4 kB / 0.5923 GB, free: 1.902 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.4123, allocations: 35.95 kB / 0.5924 GB, free: 1.879 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.4145, allocations: 477.5 kB / 0.5928 GB, free: 1.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006825/0.4214, allocations: 6.618 MB / 0.5993 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.4217, allocations: 0.933 MB / 0.6002 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004803/0.4222, allocations: 280.8 kB / 0.6005 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.4225, allocations: 299.9 kB / 0.6008 GB, free: 10.24 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4225, allocations: 7.562 kB / 0.6008 GB, free: 10.24 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06316/0.4857, allocations: 47.95 MB / 0.6476 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/0.4859, allocations: 202.2 kB / 0.6478 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.577/4.063, allocations: 0 / 0.6478 GB, free: 10.12 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)