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.00077/0.0007701, allocations: 89.59 kB / 16.65 MB, free: 6.586 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.0008358/0.0008358, allocations: 182 kB / 17.56 MB, free: 6.203 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.077/1.077, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2008/0.2008, allocations: 48.79 MB / 320.8 MB, free: 11.09 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.0004394/0.0004394, allocations: 19.73 kB / 391.9 MB, free: 49.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06975/0.0702, allocations: 60.26 MB / 452.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.03263/0.1028, allocations: 42.04 MB / 494.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009927/0.1128, allocations: 10.47 MB / 0.4928 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.113, allocations: 11.94 kB / 0.4929 GB, free: 4.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.1135, allocations: 194.9 kB / 0.493 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.1139, allocations: 270.3 kB / 0.4933 GB, free: 3.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007339/0.1213, allocations: 3.781 MB / 0.497 GB, free: 136 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007512/0.122, allocations: 0.9922 MB / 0.498 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.1223, allocations: 199.2 kB / 0.4982 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.1226, allocations: 262.8 kB / 0.4984 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.1228, allocations: 282.7 kB / 0.4987 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.1229, allocations: 16 kB / 0.4987 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007431/0.1303, allocations: 6.169 MB / 0.5047 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.1304, allocations: 67.62 kB / 0.5048 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.1305, allocations: 244.5 kB / 0.505 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003538/0.1341, allocations: 3.746 MB / 0.5087 GB, free: 4.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1341, allocations: 4 kB / 0.5087 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1341, allocations: 3.938 kB / 0.5087 GB, free: 4.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1341, allocations: 0 / 0.5087 GB, free: 4.145 MB / 398.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.001982/0.1361, allocations: 1.099 MB / 0.5098 GB, free: 2.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1361, allocations: 12.03 kB / 0.5098 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.845e-05/0.1362, allocations: 70.66 kB / 0.5098 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.1364, allocations: 76.27 kB / 0.5099 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.1368, allocations: 370.1 kB / 0.5103 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1368, allocations: 21.03 kB / 0.5103 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.1369, allocations: 36.12 kB / 0.5103 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.1375, allocations: 389 kB / 0.5107 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1375, allocations: 0 / 0.5107 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.1376, allocations: 16 kB / 0.5107 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1376, allocations: 8 kB / 0.5107 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005692/0.1382, allocations: 273.9 kB / 0.511 GB, free: 1.676 MB / 398.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.001638/0.1398, allocations: 2.031 MB / 0.513 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.1402, allocations: 162.4 kB / 0.5131 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.1404, allocations: 84.81 kB / 0.5132 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1901/0.3305, allocations: 32.28 MB / 0.5447 GB, free: 73.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.3305, allocations: 34.59 kB / 0.5447 GB, free: 73.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.3306, allocations: 1.031 kB / 0.5447 GB, free: 73.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002088/0.3326, allocations: 0.5962 MB / 0.5453 GB, free: 73.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.3327, allocations: 58.89 kB / 0.5454 GB, free: 73.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.3331, allocations: 396.2 kB / 0.5458 GB, free: 73.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3331, allocations: 29.11 kB / 0.5458 GB, free: 72.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.3332, allocations: 220.4 kB / 0.546 GB, free: 72.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.3332, allocations: 58.36 kB / 0.5461 GB, free: 72.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.3333, allocations: 25.06 kB / 0.5461 GB, free: 72.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.3333, allocations: 349.1 kB / 0.5464 GB, free: 72.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3335, allocations: 74.84 kB / 0.5465 GB, free: 72.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.3337, allocations: 113.7 kB / 0.5466 GB, free: 72.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.334, allocations: 193.3 kB / 0.5468 GB, free: 72.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.334, allocations: 0 / 0.5468 GB, free: 72.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005405/0.3346, allocations: 318.3 kB / 0.5471 GB, free: 72.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.3346, allocations: 131.6 kB / 0.5472 GB, free: 72.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3346, allocations: 2.234 kB / 0.5472 GB, free: 72.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/0.3368, allocations: 325 kB / 0.5475 GB, free: 72.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.337, allocations: 56.59 kB / 0.5476 GB, free: 72.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006162/0.3377, allocations: 0.6465 MB / 0.5482 GB, free: 71.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.338, allocations: 45.31 kB / 0.5482 GB, free: 71.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.338, allocations: 12.73 kB / 0.5483 GB, free: 71.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-06/0.338, allocations: 7.062 kB / 0.5483 GB, free: 71.7 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005963/0.3386, allocations: 239.7 kB / 0.5485 GB, free: 71.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.3386, allocations: 1.188 kB / 0.5485 GB, free: 71.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003051/0.339, allocations: 78.3 kB / 0.5486 GB, free: 71.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.3392, allocations: 65.17 kB / 0.5486 GB, free: 71.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.3403, allocations: 1.453 MB / 0.5501 GB, free: 70.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.3406, allocations: 44.64 kB / 0.5501 GB, free: 70.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3406, allocations: 5.031 kB / 0.5501 GB, free: 70.28 MB / 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.3407, allocations: 225 kB / 0.5503 GB, free: 70.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.3408, allocations: 43.22 kB / 0.5504 GB, free: 70.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009776/0.3418, allocations: 0.9274 MB / 0.5513 GB, free: 69.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.3418, allocations: 6.484 kB / 0.5513 GB, free: 69.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.3418, allocations: 3.984 kB / 0.5513 GB, free: 69.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3418, allocations: 1.406 kB / 0.5513 GB, free: 69.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.3422, allocations: 0.5408 MB / 0.5518 GB, free: 69.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.3423, allocations: 4 kB / 0.5518 GB, free: 69.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.3423, allocations: 24.08 kB / 0.5518 GB, free: 69.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/0.3441, allocations: 0.8694 MB / 0.5527 GB, free: 68.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3442, allocations: 2.344 kB / 0.5527 GB, free: 68.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006687/0.3448, allocations: 1.084 MB / 0.5537 GB, free: 67.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3448, allocations: 1.5 kB / 0.5537 GB, free: 67.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.3456, allocations: 0.7957 MB / 0.5545 GB, free: 67.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.3457, allocations: 161.4 kB / 0.5547 GB, free: 67.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.3458, allocations: 5.125 kB / 0.5547 GB, free: 67.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.346, allocations: 28.58 kB / 0.5547 GB, free: 67.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.3461, allocations: 20.28 kB / 0.5547 GB, free: 67.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.3461, allocations: 4.719 kB / 0.5547 GB, free: 67.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002822/0.3464, allocations: 335.2 kB / 0.555 GB, free: 67.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3464, allocations: 1.125 kB / 0.555 GB, free: 67.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001993/0.3484, allocations: 0.9455 MB / 0.556 GB, free: 66.99 MB / 414.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003736/0.3521, allocations: 2.024 MB / 0.5579 GB, free: 65.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.3532, allocations: 0.4939 MB / 0.5584 GB, free: 65.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3532, allocations: 8 kB / 0.5584 GB, free: 65.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002753/0.3535, allocations: 189 kB / 0.5586 GB, free: 65.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.3546, allocations: 217.6 kB / 0.5588 GB, free: 65.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.3587, allocations: 4.239 MB / 0.563 GB, free: 62.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.3589, allocations: 0.8441 MB / 0.5638 GB, free: 61.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002521/0.3591, allocations: 176.4 kB / 0.564 GB, free: 61.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.3593, allocations: 166.2 kB / 0.5641 GB, free: 61.57 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3593, allocations: 1.344 kB / 0.5641 GB, free: 61.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.966/3.325, allocations: 40.38 MB / 0.6035 GB, free: 21.46 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/3.325, allocations: 223.8 kB / 0.6038 GB, free: 21.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.822/7.147, allocations: 0 / 0.6038 GB, free: 21.2 MB / 414.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/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)