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.001362/0.001362, allocations: 109.3 kB / 17.06 MB, free: 5.992 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.001177/0.001177, allocations: 200 kB / 18.01 MB, free: 5.066 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.355/1.355, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.293/0.293, allocations: 48.85 MB / 320.1 MB, free: 11 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.002121/0.002121, allocations: 71.88 kB / 450 MB, free: 9.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1039, allocations: 59.15 MB / 0.4973 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2684/0.3723, allocations: 77.61 MB / 0.5731 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.3863, allocations: 11.09 MB / 0.5839 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005335/0.3869, allocations: 27.25 kB / 0.5839 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.3879, allocations: 406.2 kB / 0.5843 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009908/0.389, allocations: 0.4998 MB / 0.5848 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01481/0.4038, allocations: 5.86 MB / 0.5905 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.4056, allocations: 1.377 MB / 0.5919 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005736/0.4062, allocations: 401.7 kB / 0.5922 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006074/0.4068, allocations: 486 kB / 0.5927 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006211/0.4074, allocations: 483 kB / 0.5932 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/0.4075, allocations: 42.84 kB / 0.5932 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/0.4189, allocations: 6.351 MB / 0.5994 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.4191, allocations: 120.8 kB / 0.5995 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000541/0.4197, allocations: 397.6 kB / 0.5999 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00696/0.4266, allocations: 4.125 MB / 0.6039 GB, free: 13.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4267, allocations: 0 / 0.6039 GB, free: 13.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4267, allocations: 4 kB / 0.6039 GB, free: 13.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.4267, allocations: 0 / 0.6039 GB, free: 13.16 MB / 462.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.00317/0.4299, allocations: 1.523 MB / 0.6054 GB, free: 11.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4299, allocations: 15.89 kB / 0.6054 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.621e-05/0.43, allocations: 91.39 kB / 0.6055 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.4304, allocations: 120.3 kB / 0.6056 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007948/0.4312, allocations: 0.5272 MB / 0.6061 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.4312, allocations: 45.31 kB / 0.6062 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.4313, allocations: 48.38 kB / 0.6062 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.4324, allocations: 0.6204 MB / 0.6068 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4324, allocations: 3.938 kB / 0.6068 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.4325, allocations: 24 kB / 0.6069 GB, free: 9.973 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.4325, allocations: 13.44 kB / 0.6069 GB, free: 9.961 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008032/0.4333, allocations: 364.1 kB / 0.6072 GB, free: 9.605 MB / 462.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.003417/0.4368, allocations: 3.541 MB / 0.6107 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.4373, allocations: 182.4 kB / 0.6109 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.4374, allocations: 59.45 kB / 0.6109 GB, free: 5.508 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06999/0.5074, allocations: 32.12 MB / 0.6423 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.5074, allocations: 38.56 kB / 0.6423 GB, free: 1.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.5074, allocations: 4 kB / 0.6423 GB, free: 1.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.00128/0.5087, allocations: 365.5 kB / 0.6427 GB, free: 1.156 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.5088, allocations: 132.5 kB / 0.6428 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/0.5097, allocations: 0.7318 MB / 0.6435 GB, free: 260 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.5098, allocations: 25.7 kB / 0.6435 GB, free: 228 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.5101, allocations: 356.2 kB / 0.6439 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.5101, allocations: 43.58 kB / 0.6439 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/0.5102, allocations: 61.62 kB / 0.644 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5104, allocations: 314 kB / 0.6443 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.5105, allocations: 60.78 kB / 0.6443 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.5107, allocations: 122.3 kB / 0.6445 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.511, allocations: 194.1 kB / 0.6446 GB, free: 15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.511, allocations: 3.938 kB / 0.6446 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005298/0.5116, allocations: 292.8 kB / 0.6449 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5116, allocations: 8 kB / 0.6449 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5116, allocations: 8.188 kB / 0.6449 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.5116, allocations: 4 kB / 0.6449 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.5119, allocations: 52.97 kB / 0.645 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.512, allocations: 9.547 kB / 0.645 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.5123, allocations: 55.52 kB / 0.6451 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.5124, allocations: 12 kB / 0.6451 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002183/0.5126, allocations: 160.1 kB / 0.6452 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001956/0.5128, allocations: 187.8 kB / 0.6454 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003005/0.5131, allocations: 239.4 kB / 0.6456 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.5131, allocations: 0 / 0.6456 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004668/0.5136, allocations: 305.3 kB / 0.6459 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5136, allocations: 11.91 kB / 0.6459 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.5136, allocations: 8.031 kB / 0.6459 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.5136, allocations: 8 kB / 0.6459 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.5139, allocations: 51.91 kB / 0.646 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5139, allocations: 8.812 kB / 0.646 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.5142, allocations: 23.88 kB / 0.646 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.5142, allocations: 16 kB / 0.646 GB, free: 13.41 MB / 0.4981 GB 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.0001282/0.5144, allocations: 196.3 kB / 0.6462 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.5145, allocations: 83.47 kB / 0.6463 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006693/0.5152, allocations: 0.5094 MB / 0.6468 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5152, allocations: 0 / 0.6468 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5152, allocations: 4 kB / 0.6468 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5153, allocations: 0 / 0.6468 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008186/0.5161, allocations: 0.6234 MB / 0.6474 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5161, allocations: 0 / 0.6474 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.5162, allocations: 19.98 kB / 0.6474 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5162, allocations: 4 kB / 0.6474 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.5162, allocations: 4 kB / 0.6474 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.5162, allocations: 11.94 kB / 0.6475 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5162, allocations: 3.984 kB / 0.6475 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.5167, allocations: 0.5055 MB / 0.648 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.5168, allocations: 144.6 kB / 0.6481 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.5169, allocations: 43.62 kB / 0.6481 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.5173, allocations: 7.984 kB / 0.6481 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.5173, allocations: 7.938 kB / 0.6481 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.5174, allocations: 11.98 kB / 0.6482 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009393/0.5183, allocations: 0.7228 MB / 0.6489 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5183, allocations: 0 / 0.6489 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00263/0.5209, allocations: 1.053 MB / 0.6499 GB, free: 9.359 MB / 0.4981 GB 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.003873/0.5248, allocations: 1.959 MB / 0.6518 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004247/0.5253, allocations: 197.5 kB / 0.652 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5253, allocations: 0 / 0.652 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.172e-05/0.5253, allocations: 39.98 kB / 0.652 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.5279, allocations: 454.3 kB / 0.6525 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007999/0.5359, allocations: 6.053 MB / 0.6584 GB, free: 448 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.5365, allocations: 0.933 MB / 0.6593 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005414/0.5371, allocations: 285.1 kB / 0.6596 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.5374, allocations: 299.3 kB / 0.6598 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.5374, allocations: 0 / 0.6598 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.088/0.6254, allocations: 48.17 MB / 0.7069 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.98, allocations: 3.938 kB / 0.7069 GB, free: 14.59 MB / 0.5606 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)