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.001087/0.001087, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001085/0.001085, allocations: 192.5 kB / 16.13 MB, free: 6.672 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.114/1.114, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04895/0.04895, allocations: 11.84 MB / 281.2 MB, free: 9.633 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.001344/0.001344, allocations: 71.84 kB / 341.2 MB, free: 22.31 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0644/0.06576, allocations: 49.22 MB / 390.5 MB, free: 5.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003722/0.06951, allocations: 3.187 MB / 393.7 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.07138, allocations: 1.563 MB / 395.2 MB, free: 272 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.915e-05/0.0715, allocations: 7.938 kB / 395.2 MB, free: 264 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.07163, allocations: 31.83 kB / 395.3 MB, free: 232 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.07186, allocations: 91.3 kB / 395.3 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.07237, allocations: 279.3 kB / 395.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.07265, allocations: 326.4 kB / 395.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.07279, allocations: 60.61 kB / 396 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.07291, allocations: 99.62 kB / 396.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.07307, allocations: 127.4 kB / 396.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.0731, allocations: 12 kB / 396.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.0734, allocations: 211.6 kB / 396.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.07346, allocations: 47.81 kB / 396.5 MB, free: 15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.07357, allocations: 119.4 kB / 396.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.07396, allocations: 379.1 kB / 397 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.07397, allocations: 0 / 397 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.07397, allocations: 0 / 397 MB, free: 14.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.07398, allocations: 4 kB / 397 MB, free: 14.5 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.000669/0.07466, allocations: 0.534 MB / 397.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.0747, allocations: 12.03 kB / 397.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.07475, allocations: 58.72 kB / 397.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/0.07484, allocations: 28.66 kB / 397.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.07507, allocations: 243.5 kB / 397.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.07509, allocations: 12.38 kB / 397.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.07513, allocations: 20 kB / 397.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.07547, allocations: 214.6 kB / 398.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.07549, allocations: 0 / 398.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.07552, allocations: 19.94 kB / 398.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.07553, allocations: 4 kB / 398.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.07579, allocations: 139.3 kB / 398.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.077, allocations: 1.118 MB / 399.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.07728, allocations: 138.5 kB / 399.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.0774, allocations: 56.84 kB / 399.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.07762, allocations: 332.6 kB / 399.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.07765, allocations: 38.56 kB / 399.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.07766, allocations: 0 / 399.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001471/0.07913, allocations: 0.6572 MB / 400.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.07917, allocations: 59.28 kB / 400.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.07936, allocations: 215.2 kB / 400.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.07939, allocations: 29.7 kB / 400.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.07947, allocations: 144.3 kB / 401 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.07951, allocations: 63.09 kB / 401.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.07958, allocations: 41.69 kB / 401.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.07968, allocations: 326.8 kB / 401.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.07981, allocations: 72.75 kB / 401.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.07995, allocations: 97.98 kB / 401.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.08023, allocations: 177.8 kB / 401.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.08024, allocations: 0 / 401.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003649/0.08061, allocations: 213.1 kB / 402 MB, free: 9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.08063, allocations: 6.5 kB / 402 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.08064, allocations: 4 kB / 402 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.08066, allocations: 4 kB / 402 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.08088, allocations: 60.05 kB / 402 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.0809, allocations: 8 kB / 402.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.08102, allocations: 11.94 kB / 402.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.08104, allocations: 11.98 kB / 402.1 MB, free: 8.898 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.08118, allocations: 137.8 kB / 402.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.08123, allocations: 15.81 kB / 402.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.08163, allocations: 223.3 kB / 402.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.08164, allocations: 0 / 402.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.08165, allocations: 0 / 402.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.08165, allocations: 3.938 kB / 402.5 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.08232, allocations: 0.5491 MB / 403 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.08233, allocations: 4 kB / 403 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.0826, allocations: 59.95 kB / 403.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.08261, allocations: 7.938 kB / 403.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.08263, allocations: 3.938 kB / 403.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.08263, allocations: 0 / 403.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.08264, allocations: 0 / 403.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.08308, allocations: 350.6 kB / 403.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.08318, allocations: 120.9 kB / 403.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.08321, allocations: 4 kB / 403.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.08336, allocations: 11.98 kB / 403.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.08341, allocations: 15.92 kB / 403.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.08342, allocations: 11.98 kB / 403.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.08355, allocations: 163.1 kB / 403.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08356, allocations: 0 / 403.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000308/0.08387, allocations: 95.92 kB / 403.8 MB, free: 7.043 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 (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.0007732/0.08465, allocations: 0.954 MB / 404.8 MB, free: 6.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.08494, allocations: 144.1 kB / 404.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.08495, allocations: 4.062 kB / 404.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.08508, allocations: 75.91 kB / 405 MB, free: 5.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.08545, allocations: 48.64 kB / 405.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.08804, allocations: 2.645 MB / 407.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.08829, allocations: 0.7363 MB / 408.4 MB, free: 2.281 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.0884, allocations: 34.27 kB / 408.5 MB, free: 2.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.926e-05/0.08851, allocations: 71.41 kB / 408.5 MB, free: 2.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.08851, allocations: 0 / 408.5 MB, free: 2.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.1025, allocations: 5.782 MB / 414.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.1027, allocations: 200.6 kB / 414.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.807, allocations: 0 / 414.5 MB, free: 12.16 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/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)