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.001208/0.001208, allocations: 95.89 kB / 16.3 MB, free: 6.461 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.001404/0.001404, allocations: 173.3 kB / 17.19 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3413/0.3413, allocations: 48.78 MB / 320.4 MB, free: 11.32 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.000807/0.0008071, allocations: 15.98 kB / 391.2 MB, free: 50.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1635, allocations: 60.27 MB / 451.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.123/0.2865, allocations: 65.08 MB / 0.5045 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.3057, allocations: 9.724 MB / 0.514 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.307, allocations: 23.81 kB / 0.514 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.3086, allocations: 322.3 kB / 0.5143 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.3106, allocations: 0.5062 MB / 0.5148 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02106/0.3317, allocations: 4.636 MB / 0.5193 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.3343, allocations: 0.8887 MB / 0.5202 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.3352, allocations: 323.3 kB / 0.5205 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008736/0.336, allocations: 382.6 kB / 0.5209 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007384/0.3368, allocations: 354.4 kB / 0.5212 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.384e-05/0.3369, allocations: 28 kB / 0.5212 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01905/0.356, allocations: 6.184 MB / 0.5273 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.3563, allocations: 95.53 kB / 0.5274 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004442/0.3568, allocations: 177.3 kB / 0.5275 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3476/0.7043, allocations: 2.708 MB / 0.5302 GB, free: 16.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.7044, allocations: 0 / 0.5302 GB, free: 16.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.7044, allocations: 1.203 kB / 0.5302 GB, free: 16.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.7044, allocations: 0 / 0.5302 GB, free: 16.09 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.007484/0.7119, allocations: 1.365 MB / 0.5315 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.712, allocations: 9.344 kB / 0.5315 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/0.7123, allocations: 91.7 kB / 0.5316 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000691/0.713, allocations: 117.1 kB / 0.5317 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.7142, allocations: 485.9 kB / 0.5322 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.7143, allocations: 38.25 kB / 0.5322 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.7144, allocations: 47.38 kB / 0.5323 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.7161, allocations: 0.6073 MB / 0.5328 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.7162, allocations: 0.9688 kB / 0.5328 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.7163, allocations: 22.19 kB / 0.5329 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.7163, allocations: 12.81 kB / 0.5329 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.7176, allocations: 353.5 kB / 0.5332 GB, free: 14.76 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.004629/0.7223, allocations: 3.558 MB / 0.5367 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.723, allocations: 188.6 kB / 0.5369 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09335/0.8164, allocations: 32.3 MB / 0.5684 GB, free: 7.453 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.8165, allocations: 38.81 kB / 0.5685 GB, free: 7.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 3.477e-06/0.8165, allocations: 0 / 0.5685 GB, free: 7.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001898/0.8184, allocations: 362.8 kB / 0.5688 GB, free: 7.344 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.8185, allocations: 138.5 kB / 0.5689 GB, free: 7.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.8197, allocations: 0.7274 MB / 0.5696 GB, free: 7.055 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.8197, allocations: 29.02 kB / 0.5697 GB, free: 7.023 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.82, allocations: 349.4 kB / 0.57 GB, free: 6.914 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.8201, allocations: 51.19 kB / 0.5701 GB, free: 6.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.8201, allocations: 3.25 kB / 0.5701 GB, free: 6.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8203, allocations: 312.5 kB / 0.5704 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.8204, allocations: 46.55 kB / 0.5704 GB, free: 6.578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.8206, allocations: 122 kB / 0.5705 GB, free: 6.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.8207, allocations: 61.72 kB / 0.5706 GB, free: 6.477 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.8207, allocations: 0 / 0.5706 GB, free: 6.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006143/0.8214, allocations: 277.6 kB / 0.5708 GB, free: 6.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007715/0.8221, allocations: 1.047 MB / 0.5719 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.8222, allocations: 3.625 kB / 0.5719 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.8222, allocations: 5.031 kB / 0.5719 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.8226, allocations: 54.3 kB / 0.5719 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.8226, allocations: 12.05 kB / 0.5719 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/0.8234, allocations: 56.95 kB / 0.572 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.8235, allocations: 15.95 kB / 0.572 GB, free: 21.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.8235, allocations: 3.156 kB / 0.572 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003426/0.8238, allocations: 146.3 kB / 0.5721 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.8238, allocations: 3.344 kB / 0.5722 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.8239, allocations: 6.062 kB / 0.5722 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.8242, allocations: 55.66 kB / 0.5722 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.8242, allocations: 11.05 kB / 0.5722 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.8247, allocations: 54.06 kB / 0.5723 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.8247, allocations: 9.562 kB / 0.5723 GB, free: 21.24 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003344/0.8251, allocations: 249.7 kB / 0.5725 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.8253, allocations: 83.72 kB / 0.5726 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/0.8261, allocations: 0.5186 MB / 0.5731 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.8261, allocations: 5.734 kB / 0.5731 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.8261, allocations: 0 / 0.5731 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.8261, allocations: 4.297 kB / 0.5731 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.8273, allocations: 0.6078 MB / 0.5737 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.8273, allocations: 5.156 kB / 0.5737 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.8274, allocations: 33.11 kB / 0.5737 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.8274, allocations: 0 / 0.5737 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.8274, allocations: 3.312 kB / 0.5737 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8275, allocations: 5.812 kB / 0.5738 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8275, allocations: 3.312 kB / 0.5738 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.8279, allocations: 0.5388 MB / 0.5743 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.8283, allocations: 244 kB / 0.5745 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.8285, allocations: 5.641 kB / 0.5745 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.8292, allocations: 11.61 kB / 0.5745 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.8292, allocations: 17.83 kB / 0.5745 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.8292, allocations: 3.312 kB / 0.5746 GB, free: 20.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001157/0.8304, allocations: 0.7226 MB / 0.5753 GB, free: 19.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.8304, allocations: 0 / 0.5753 GB, free: 19.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006557/0.837, allocations: 1.052 MB / 0.5763 GB, free: 19.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009976/0.847, allocations: 2.166 MB / 0.5784 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006577/0.8477, allocations: 185.2 kB / 0.5786 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8477, allocations: 2.312 kB / 0.5786 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.739e-05/0.8478, allocations: 38.25 kB / 0.5786 GB, free: 18.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/0.8514, allocations: 455.6 kB / 0.579 GB, free: 18.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007474/0.8589, allocations: 3.764 MB / 0.5827 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/0.8597, allocations: 0.9466 MB / 0.5837 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.8608, allocations: 290.2 kB / 0.5839 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.8612, allocations: 294.3 kB / 0.5842 GB, free: 14.87 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8612, allocations: 0 / 0.5842 GB, free: 14.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1252/0.9864, allocations: 47.19 MB / 0.6303 GB, free: 5.551 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003386/0.9868, allocations: 176.1 kB / 0.6305 GB, free: 5.309 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.432/6.418, allocations: 0 / 0.6305 GB, free: 5.309 MB / 478.1 MB (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/linux/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) Environment - environmentSimulation: