Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.ValveZeroFlow,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_ValveZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.ValveZeroFlow,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_ValveZeroFlow",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.001009/0.001009, allocations: 85.05 kB / 16.31 MB, free: 5.676 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.001123/0.001124, allocations: 184.5 kB / 17.21 MB, free: 5.59 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.331/1.331, allocations: 205.4 MB / 223.4 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3856/0.3856, allocations: 48.77 MB / 320.4 MB, free: 3.848 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.0008422/0.0008423, allocations: 16 kB / 391.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1373, allocations: 60.26 MB / 451.5 MB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.2237/0.3611, allocations: 39.07 MB / 490.6 MB, free: 25.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.3726, allocations: 9.253 MB / 499.9 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005845/0.3733, allocations: 14.59 kB / 499.9 MB, free: 18.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008907/0.3742, allocations: 179.5 kB / 0.4883 GB, free: 18.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007084/0.3749, allocations: 304.7 kB / 0.4886 GB, free: 18.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01379/0.3887, allocations: 3.603 MB / 0.4921 GB, free: 16.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.3898, allocations: 0.87 MB / 0.493 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.3901, allocations: 181.2 kB / 0.4932 GB, free: 16.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.3903, allocations: 246.8 kB / 0.4934 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.3907, allocations: 281.6 kB / 0.4937 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.3907, allocations: 15.53 kB / 0.4937 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01185/0.4026, allocations: 5.916 MB / 0.4994 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.4027, allocations: 67.27 kB / 0.4995 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.403, allocations: 108.7 kB / 0.4996 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006256/0.4093, allocations: 2.494 MB / 0.5021 GB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4093, allocations: 0 / 0.5021 GB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.4093, allocations: 0 / 0.5021 GB, free: 11.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.4093, allocations: 1.562 kB / 0.5021 GB, free: 11.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.004342/0.4137, allocations: 1.115 MB / 0.5031 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.4138, allocations: 9 kB / 0.5032 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.4139, allocations: 63.59 kB / 0.5032 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.4142, allocations: 73.7 kB / 0.5033 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.4148, allocations: 368.5 kB / 0.5036 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.4148, allocations: 19.72 kB / 0.5037 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.4148, allocations: 31.09 kB / 0.5037 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/0.4157, allocations: 391.2 kB / 0.5041 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.4157, allocations: 0 / 0.5041 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.4157, allocations: 15.28 kB / 0.5041 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.4158, allocations: 7.969 kB / 0.5041 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.4164, allocations: 272.4 kB / 0.5043 GB, free: 9.641 MB / 382.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.001822/0.4183, allocations: 2.034 MB / 0.5063 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.4187, allocations: 156 kB / 0.5065 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.4189, allocations: 85.23 kB / 0.5066 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0586/0.4775, allocations: 32.29 MB / 0.5381 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.4776, allocations: 35.94 kB / 0.5381 GB, free: 5.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.865e-06/0.4776, allocations: 3.938 kB / 0.5381 GB, free: 5.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002452/0.48, allocations: 0.6005 MB / 0.5387 GB, free: 5.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.4801, allocations: 55.41 kB / 0.5388 GB, free: 4.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/0.4806, allocations: 397.9 kB / 0.5391 GB, free: 4.555 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.4807, allocations: 29.7 kB / 0.5392 GB, free: 4.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.4808, allocations: 216.1 kB / 0.5394 GB, free: 4.305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.4809, allocations: 59.19 kB / 0.5394 GB, free: 4.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.4809, allocations: 3.938 kB / 0.5394 GB, free: 4.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4811, allocations: 354.8 kB / 0.5398 GB, free: 3.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.4812, allocations: 60.34 kB / 0.5398 GB, free: 3.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.4814, allocations: 108.9 kB / 0.5399 GB, free: 3.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.4816, allocations: 71.97 kB / 0.54 GB, free: 3.637 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4816, allocations: 4 kB / 0.54 GB, free: 3.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006614/0.4823, allocations: 297.7 kB / 0.5403 GB, free: 3.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.286e-05/0.4824, allocations: 120.5 kB / 0.5404 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4824, allocations: 5.078 kB / 0.5404 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.484, allocations: 236.6 kB / 0.5406 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.4843, allocations: 63.88 kB / 0.5407 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000805/0.4851, allocations: 0.6393 MB / 0.5413 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.4855, allocations: 43.66 kB / 0.5414 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.4855, allocations: 11.98 kB / 0.5414 GB, free: 2.176 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.4856, allocations: 7.938 kB / 0.5414 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006276/0.4862, allocations: 238.9 kB / 0.5416 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.4862, allocations: 0 / 0.5416 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/0.4865, allocations: 76.77 kB / 0.5417 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.4868, allocations: 65.42 kB / 0.5417 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.4884, allocations: 1.46 MB / 0.5432 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.4887, allocations: 36.97 kB / 0.5432 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.4888, allocations: 8.703 kB / 0.5432 GB, free: 160 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (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 (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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002363/0.489, allocations: 225.1 kB / 0.5434 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.4891, allocations: 39.53 kB / 0.5435 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.4903, allocations: 0.9205 MB / 0.5444 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.4904, allocations: 11.98 kB / 0.5444 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.4904, allocations: 0 / 0.5444 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4904, allocations: 0 / 0.5444 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.491, allocations: 0.5457 MB / 0.5449 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4911, allocations: 0 / 0.5449 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/0.4912, allocations: 31.92 kB / 0.5449 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/0.493, allocations: 0.8645 MB / 0.5458 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.493, allocations: 7.984 kB / 0.5458 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009779/0.494, allocations: 1.065 MB / 0.5468 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.494, allocations: 0 / 0.5468 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009973/0.495, allocations: 0.8102 MB / 0.5476 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.4952, allocations: 152.2 kB / 0.5478 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.4953, allocations: 8 kB / 0.5478 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.4955, allocations: 25.22 kB / 0.5478 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.4956, allocations: 11.98 kB / 0.5478 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.4956, allocations: 11.94 kB / 0.5478 GB, free: 11.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003639/0.496, allocations: 338.9 kB / 0.5481 GB, free: 10.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.496, allocations: 0 / 0.5481 GB, free: 10.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004557/0.5006, allocations: 0.9523 MB / 0.5491 GB, free: 10.02 MB / 430.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: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006657/0.5072, allocations: 2.017 MB / 0.551 GB, free: 7.969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.5086, allocations: 485.8 kB / 0.5515 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5086, allocations: 0 / 0.5515 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.509, allocations: 206.5 kB / 0.5517 GB, free: 7.285 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.5102, allocations: 210.6 kB / 0.5519 GB, free: 7.086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/0.5154, allocations: 2.665 MB / 0.5545 GB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.5159, allocations: 0.8436 MB / 0.5553 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003942/0.5163, allocations: 174.8 kB / 0.5555 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.5165, allocations: 167.4 kB / 0.5557 GB, free: 3.16 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5165, allocations: 0 / 0.5557 GB, free: 3.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4237/0.9402, allocations: 40.77 MB / 0.5955 GB, free: 10.39 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.9405, allocations: 212.7 kB / 0.5957 GB, free: 10.15 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.203/5.143, allocations: 0 / 0.5957 GB, free: 10.15 MB / 478.1 MB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_ValveZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_ValveZeroFlow.fmu > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) Environment - environmentSimulation: