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.0007988/0.0007989, allocations: 90.75 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.0009128/0.0009129, 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 2.11/2.11, allocations: 205.4 MB / 222.1 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04945/0.04945, allocations: 11.86 MB / 282.2 MB, free: 9.34 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.0007903/0.0007905, allocations: 16 kB / 343 MB, free: 22.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1274, allocations: 50.21 MB / 393.2 MB, free: 4.086 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003239/0.1307, allocations: 2.71 MB / 396 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.1328, allocations: 1.432 MB / 397.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.133, allocations: 7.938 kB / 397.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1331, allocations: 31.75 kB / 397.4 MB, free: 15.88 MB / 302.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.0003292/0.1335, allocations: 139 kB / 397.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.134, allocations: 263.3 kB / 397.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.1343, allocations: 302.5 kB / 398.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1345, allocations: 67.19 kB / 398.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1346, allocations: 95.59 kB / 398.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1348, allocations: 111.5 kB / 398.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1348, allocations: 12 kB / 398.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003198/0.1351, allocations: 199.6 kB / 398.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.1352, allocations: 39.83 kB / 398.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.1353, allocations: 69.58 kB / 398.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.1356, allocations: 275.6 kB / 399 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1356, allocations: 0 / 399 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1356, allocations: 0 / 399 MB, free: 14.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1356, allocations: 0 / 399 MB, free: 14.34 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.0006315/0.1362, allocations: 0.5026 MB / 399.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.1363, allocations: 8.031 kB / 399.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.1363, allocations: 50.55 kB / 399.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1365, allocations: 31.72 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1367, allocations: 242.7 kB / 399.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1367, allocations: 16.38 kB / 399.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.1367, allocations: 16 kB / 399.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.1371, allocations: 218.6 kB / 400 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1371, allocations: 0 / 400 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.1372, allocations: 7.953 kB / 400 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1372, allocations: 11.98 kB / 400.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.1374, allocations: 148 kB / 400.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.1388, allocations: 1.118 MB / 401.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.1391, allocations: 134.6 kB / 401.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.1392, allocations: 68.83 kB / 401.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.1395, allocations: 324.4 kB / 401.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1395, allocations: 34.56 kB / 401.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1395, allocations: 0 / 401.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001696/0.1412, allocations: 0.6927 MB / 402.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1413, allocations: 59.41 kB / 402.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.1416, allocations: 219.2 kB / 402.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.1416, allocations: 25.7 kB / 402.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1417, allocations: 140.3 kB / 403 MB, free: 9.871 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/0.1418, allocations: 63.09 kB / 403.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.1418, allocations: 4 kB / 403.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.142, allocations: 330.8 kB / 403.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1422, allocations: 77.12 kB / 403.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1423, allocations: 102.7 kB / 403.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1425, allocations: 75.92 kB / 403.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1425, allocations: 3.938 kB / 403.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003958/0.1429, allocations: 221.1 kB / 403.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1429, allocations: 8 kB / 403.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.143, allocations: 0 / 403.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.143, allocations: 8.031 kB / 403.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.1432, allocations: 63.89 kB / 403.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1432, allocations: 4 kB / 403.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1434, allocations: 16.09 kB / 403.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1434, allocations: 7.984 kB / 404 MB, free: 8.871 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.0002219/0.1436, allocations: 145.7 kB / 404.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.1437, allocations: 23.72 kB / 404.1 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.1442, allocations: 223.4 kB / 404.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1442, allocations: 0 / 404.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1442, allocations: 3.938 kB / 404.3 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1442, allocations: 0 / 404.3 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008301/0.145, allocations: 0.5645 MB / 404.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.145, allocations: 0 / 404.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.1453, allocations: 55.95 kB / 405 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1453, allocations: 4 kB / 405 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1453, allocations: 4 kB / 405 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1453, allocations: 0 / 405 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1453, allocations: 0 / 405 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/0.1459, allocations: 370.9 kB / 405.3 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.146, allocations: 116.8 kB / 405.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.146, allocations: 0 / 405.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1462, allocations: 20.05 kB / 405.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.1462, allocations: 11.98 kB / 405.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1463, allocations: 11.98 kB / 405.5 MB, free: 7.234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.1464, allocations: 163.1 kB / 405.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1464, allocations: 0 / 405.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003928/0.1468, allocations: 91.92 kB / 405.7 MB, free: 6.984 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.0008932/0.1477, allocations: 0.9622 MB / 406.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.148, allocations: 155.9 kB / 406.9 MB, free: 5.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1481, allocations: 0 / 406.9 MB, free: 5.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.1482, allocations: 75.91 kB / 406.9 MB, free: 5.766 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.1486, allocations: 60.91 kB / 407 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1507, allocations: 1.502 MB / 408.5 MB, free: 4.145 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1511, allocations: 0.7482 MB / 409.2 MB, free: 3.371 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1512, allocations: 30.28 kB / 409.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.1513, allocations: 71.41 kB / 409.3 MB, free: 3.27 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1513, allocations: 3.938 kB / 409.3 MB, free: 3.266 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.1823, allocations: 5.571 MB / 414.9 MB, free: 13.76 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.1826, allocations: 201.8 kB / 415.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/2.542, allocations: 0 / 415.1 MB, free: 13.5 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: