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: translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009129/0.0009132, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0009239/0.0009243, allocations: 172.7 kB / 15.95 MB, free: 208 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.705/1.705, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05119/0.05119, allocations: 11.85 MB / 282.2 MB, free: 9.711 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.0005811/0.0005813, allocations: 20 kB / 342.9 MB, free: 22.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1075, allocations: 50.22 MB / 393.1 MB, free: 4.234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003362/0.1109, allocations: 2.71 MB / 395.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.1133, allocations: 1.443 MB / 397.3 MB, free: 60 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.1135, allocations: 4 kB / 397.3 MB, free: 56 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.1137, allocations: 27.77 kB / 397.3 MB, free: 28 kB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.114, allocations: 131 kB / 397.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.1147, allocations: 275.2 kB / 397.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.115, allocations: 298.5 kB / 398 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1152, allocations: 60.53 kB / 398.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1154, allocations: 95.64 kB / 398.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.1156, allocations: 115.5 kB / 398.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.1156, allocations: 12 kB / 398.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.116, allocations: 195.6 kB / 398.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.116, allocations: 35.84 kB / 398.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.1161, allocations: 69.58 kB / 398.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.1165, allocations: 271.6 kB / 398.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1165, allocations: 0 / 398.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1165, allocations: 0 / 398.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1166, allocations: 0 / 398.8 MB, free: 14.49 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.000911/0.1175, allocations: 0.5065 MB / 399.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.1175, allocations: 12.03 kB / 399.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1177, allocations: 27.7 kB / 399.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.118, allocations: 242.7 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.1181, allocations: 16.38 kB / 399.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.1181, allocations: 16 kB / 399.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.1186, allocations: 218.6 kB / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1186, allocations: 0 / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.1187, allocations: 8 kB / 399.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.1187, allocations: 7.953 kB / 399.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.119, allocations: 144 kB / 400 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.1207, allocations: 1.13 MB / 401.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.121, allocations: 134.6 kB / 401.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.1211, allocations: 60.83 kB / 401.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003191/0.1215, allocations: 328.4 kB / 401.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1215, allocations: 38.5 kB / 401.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.1215, allocations: 0 / 401.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001635/0.1232, allocations: 0.7001 MB / 402.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1232, allocations: 55.31 kB / 402.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.1234, allocations: 215.2 kB / 402.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1235, allocations: 25.7 kB / 402.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.1236, allocations: 144.3 kB / 402.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.1236, allocations: 63.05 kB / 402.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.1236, allocations: 8 kB / 402.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1238, allocations: 334.8 kB / 403.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1239, allocations: 61.2 kB / 403.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.1241, allocations: 106.7 kB / 403.4 MB, free: 9.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.1243, allocations: 75.86 kB / 403.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1243, allocations: 4 kB / 403.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004116/0.1247, allocations: 213.3 kB / 403.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1247, allocations: 8 kB / 403.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1247, allocations: 4 kB / 403.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1248, allocations: 4.156 kB / 403.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.125, allocations: 67.89 kB / 403.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.125, allocations: 0 / 403.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.1252, allocations: 12 kB / 403.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.1252, allocations: 15.97 kB / 403.8 MB, free: 9.082 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.0002129/0.1254, allocations: 142.6 kB / 403.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.1255, allocations: 23.72 kB / 404 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.126, allocations: 223.4 kB / 404.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.126, allocations: 7.984 kB / 404.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.126, allocations: 0 / 404.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.126, allocations: 0 / 404.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008237/0.1268, allocations: 0.5645 MB / 404.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1269, allocations: 0 / 404.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.1271, allocations: 59.89 kB / 404.8 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1271, allocations: 0 / 404.8 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.1271, allocations: 8 kB / 404.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1272, allocations: 4 kB / 404.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1272, allocations: 0 / 404.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/0.1277, allocations: 363 kB / 405.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1278, allocations: 116.8 kB / 405.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.1279, allocations: 7.984 kB / 405.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.128, allocations: 12 kB / 405.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.1281, allocations: 11.97 kB / 405.3 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1281, allocations: 8 kB / 405.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.1283, allocations: 163.1 kB / 405.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1283, allocations: 4.062 kB / 405.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.1286, allocations: 95.92 kB / 405.6 MB, free: 7.191 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.0002844/0.1289, allocations: 159.1 kB / 405.7 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.1293, allocations: 156 kB / 405.9 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1293, allocations: 4.125 kB / 405.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1295, allocations: 79.84 kB / 406 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.1299, allocations: 56.58 kB / 406 MB, free: 6.734 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.131, allocations: 0.6858 MB / 406.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1313, allocations: 0.7404 MB / 407.5 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.1315, allocations: 30.28 kB / 407.5 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.1315, allocations: 19.44 kB / 407.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1315, allocations: 0 / 407.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of Templates: time 0.007042/0.1386, allocations: 3.477 MB / 411 MB, free: 1.77 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile Environment - environmentSimulation: (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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1) Environment - environmentSimulation: