Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",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.001091/0.001091, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001081/0.001081, allocations: 191.4 kB / 16.25 MB, free: 6.625 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.102/1.102, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04923/0.04923, allocations: 11.84 MB / 281.3 MB, free: 9.613 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.001324/0.001324, allocations: 71.5 kB / 341.4 MB, free: 22.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06257/0.0639, allocations: 49.22 MB / 390.6 MB, free: 4.949 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002854/0.06677, allocations: 2.262 MB / 392.9 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.06766, allocations: 0.6397 MB / 393.5 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.06775, allocations: 4 kB / 393.5 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.442e-05/0.06781, allocations: 7.922 kB / 393.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.06808, allocations: 75.5 kB / 393.6 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.083e-05/0.06817, allocations: 15.98 kB / 393.6 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.06834, allocations: 135.3 kB / 393.8 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.06844, allocations: 28 kB / 393.8 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.923e-05/0.06854, allocations: 51.8 kB / 393.9 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.465e-05/0.06863, allocations: 47.83 kB / 393.9 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.06865, allocations: 8 kB / 393.9 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.892e-05/0.06871, allocations: 19.94 kB / 393.9 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.06874, allocations: 11.92 kB / 393.9 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.0688, allocations: 63.72 kB / 394 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.06894, allocations: 95.94 kB / 394.1 MB, free: 1.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.06894, allocations: 0 / 394.1 MB, free: 1.473 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.06895, allocations: 4 kB / 394.1 MB, free: 1.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.06896, allocations: 0 / 394.1 MB, free: 1.469 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003948/0.06936, allocations: 420.8 kB / 394.5 MB, free: 1.004 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.0694, allocations: 15.89 kB / 394.5 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.06944, allocations: 34.75 kB / 394.6 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.06948, allocations: 16.75 kB / 394.6 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.06965, allocations: 196.1 kB / 394.8 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.06967, allocations: 12.31 kB / 394.8 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.06969, allocations: 7.938 kB / 394.8 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.06984, allocations: 85.66 kB / 394.9 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.06986, allocations: 4 kB / 394.9 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.06987, allocations: 0 / 394.9 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.06988, allocations: 0 / 394.9 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.073e-05/0.06997, allocations: 58.25 kB / 394.9 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.07053, allocations: 0.5049 MB / 395.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/0.07061, allocations: 38.52 kB / 395.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.07065, allocations: 24.97 kB / 395.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.07067, allocations: 3.984 kB / 395.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.07069, allocations: 34.5 kB / 395.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.0707, allocations: 0 / 395.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001987/0.0709, allocations: 103.3 kB / 395.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.07094, allocations: 81.11 kB / 395.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.07108, allocations: 158.2 kB / 395.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.0711, allocations: 33.64 kB / 395.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.07115, allocations: 111.8 kB / 396 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.07117, allocations: 15.8 kB / 396 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.07121, allocations: 21.72 kB / 396.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.07132, allocations: 322.8 kB / 396.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-05/0.07135, allocations: 15.98 kB / 396.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.899e-05/0.07139, allocations: 12 kB / 396.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.587e-05/0.07148, allocations: 96.25 kB / 396.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.07149, allocations: 4 kB / 396.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001392/0.07163, allocations: 115.3 kB / 396.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.07167, allocations: 33.64 kB / 396.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.07167, allocations: 0 / 396.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.07169, allocations: 4 kB / 396.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.689e-05/0.07179, allocations: 19.92 kB / 396.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.0718, allocations: 0 / 396.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.07187, allocations: 11.84 kB / 396.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.07189, allocations: 496 / 396.7 MB, free: 14.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.374e-05/0.07197, allocations: 144.4 kB / 396.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.07201, allocations: 15.84 kB / 396.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.07218, allocations: 123.6 kB / 397 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.07219, allocations: 0 / 397 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.0722, allocations: 0 / 397 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.0722, allocations: 0 / 397 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.07253, allocations: 381 kB / 397.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.07254, allocations: 0 / 397.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.0726, allocations: 15.95 kB / 397.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.07261, allocations: 7.938 kB / 397.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.07262, allocations: 4 kB / 397.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.07263, allocations: 4 kB / 397.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.07264, allocations: 0 / 397.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.07279, allocations: 202 kB / 397.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.07285, allocations: 96.94 kB / 397.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.07288, allocations: 0 / 397.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/0.07297, allocations: 8 kB / 397.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.07299, allocations: 3.984 kB / 397.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.073, allocations: 4 kB / 397.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.809e-05/0.0731, allocations: 131.8 kB / 397.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0731, allocations: 3.938 kB / 397.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.07334, allocations: 35.91 kB / 397.8 MB, free: 13.29 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.000372/0.07372, allocations: 0.7383 MB / 398.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.07387, allocations: 103.6 kB / 398.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.07388, allocations: 0 / 398.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.623e-05/0.07394, allocations: 75.33 kB / 398.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.07424, allocations: 32.17 kB / 398.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.07562, allocations: 1.659 MB / 400.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.07585, allocations: 0.6928 MB / 401.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.012e-05/0.07591, allocations: 21.16 kB / 401.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.07598, allocations: 35.42 kB / 401.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.07598, allocations: 0 / 401.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.318/2.394, allocations: 2.937 MB / 404.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/2.395, allocations: 198.3 kB / 404.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/4.373, allocations: 3.938 kB / 404.3 MB, free: 6.613 MB / 302.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1)