Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.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(OpenHydraulics.DevelopmentTests.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",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.00096/0.00096, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009851/0.0009853, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05186/0.05186, allocations: 11.84 MB / 282.2 MB, free: 9.477 MB / 238.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: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005633/0.0005634, allocations: 16.22 kB / 343 MB, free: 22.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09747, allocations: 50.21 MB / 393.2 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.00298/0.1005, allocations: 2.511 MB / 395.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1024, allocations: 1.424 MB / 397.1 MB, free: 180 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.1026, allocations: 4 kB / 397.1 MB, free: 176 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.1028, allocations: 27.7 kB / 397.2 MB, free: 148 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.1032, allocations: 159.6 kB / 397.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.1038, allocations: 267.3 kB / 397.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.1041, allocations: 215.5 kB / 397.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.1043, allocations: 67.2 kB / 397.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.1045, allocations: 87.7 kB / 397.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1047, allocations: 111.5 kB / 398.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1047, allocations: 8 kB / 398.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.1051, allocations: 203.7 kB / 398.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.1052, allocations: 31.91 kB / 398.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.1052, allocations: 73.58 kB / 398.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.1056, allocations: 279.6 kB / 398.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1056, allocations: 0 / 398.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1056, allocations: 0 / 398.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1056, allocations: 0 / 398.6 MB, free: 14.67 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007504/0.1064, allocations: 0.5027 MB / 399.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1064, allocations: 8.031 kB / 399.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.53e-05/0.1065, allocations: 66.47 kB / 399.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.1066, allocations: 27.72 kB / 399.2 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.107, allocations: 238.7 kB / 399.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.107, allocations: 12.38 kB / 399.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.107, allocations: 20 kB / 399.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.1074, allocations: 214.7 kB / 399.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1074, allocations: 0 / 399.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.1075, allocations: 15.95 kB / 399.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1075, allocations: 8 kB / 399.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.1078, allocations: 144 kB / 399.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.1091, allocations: 1.122 MB / 401 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.1094, allocations: 146.1 kB / 401.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.1096, allocations: 332.4 kB / 401.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1097, allocations: 34.56 kB / 401.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1097, allocations: 3.938 kB / 401.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001655/0.1113, allocations: 0.6888 MB / 402.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.1114, allocations: 55.41 kB / 402.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.1116, allocations: 219.1 kB / 402.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1116, allocations: 33.7 kB / 402.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.1117, allocations: 140.3 kB / 402.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.1118, allocations: 63.09 kB / 402.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-06/0.1118, allocations: 0 / 402.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1119, allocations: 330.8 kB / 403 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1121, allocations: 69.19 kB / 403.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.1122, allocations: 114.7 kB / 403.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1124, allocations: 71.61 kB / 403.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1124, allocations: 0 / 403.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003809/0.1128, allocations: 213.4 kB / 403.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1128, allocations: 4 kB / 403.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1128, allocations: 7.938 kB / 403.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1128, allocations: 0 / 403.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.1131, allocations: 67.95 kB / 403.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1131, allocations: 0 / 403.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.1132, allocations: 8 kB / 403.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.1132, allocations: 12.06 kB / 403.6 MB, free: 9.27 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (22): * Single equations (assignments): 22 * 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.0001545/0.1134, allocations: 145.7 kB / 403.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.1135, allocations: 19.72 kB / 403.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.1139, allocations: 235.3 kB / 404 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1139, allocations: 4 kB / 404 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1139, allocations: 0 / 404 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1139, allocations: 0 / 404 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/0.1147, allocations: 0.5605 MB / 404.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1147, allocations: 0 / 404.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.1149, allocations: 59.91 kB / 404.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.115, allocations: 0 / 404.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.115, allocations: 11.98 kB / 404.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.115, allocations: 0 / 404.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.115, allocations: 0 / 404.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.1155, allocations: 367.6 kB / 405 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1156, allocations: 120.7 kB / 405.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.1157, allocations: 4 kB / 405.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.1158, allocations: 15.98 kB / 405.1 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.1159, allocations: 16.05 kB / 405.1 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.1159, allocations: 4 kB / 405.1 MB, free: 7.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1161, allocations: 167.1 kB / 405.3 MB, free: 7.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1161, allocations: 0 / 405.3 MB, free: 7.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.1164, allocations: 95.92 kB / 405.4 MB, free: 7.367 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (20): * Single equations (assignments): 20 * 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.0009565/0.1174, allocations: 0.9545 MB / 406.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.1178, allocations: 148.1 kB / 406.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1178, allocations: 0 / 406.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.1179, allocations: 83.34 kB / 406.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.1182, allocations: 56.66 kB / 406.6 MB, free: 6.105 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.1206, allocations: 2.39 MB / 409 MB, free: 3.645 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.1209, allocations: 0.756 MB / 409.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.121, allocations: 34.25 kB / 409.8 MB, free: 2.828 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1212, allocations: 75.34 kB / 409.9 MB, free: 2.754 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1212, allocations: 0 / 409.9 MB, free: 2.754 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.1359, allocations: 5.548 MB / 415.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.1361, allocations: 191.9 kB / 415.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/1.883, allocations: 3.938 kB / 415.6 MB, free: 13.01 MB / 318.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1) Environment - environmentSimulation: