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.001117/0.001117, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 196.1 kB / 16.53 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.236/1.236, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05279/0.05279, allocations: 11.84 MB / 281.6 MB, free: 9.375 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.001535/0.001535, allocations: 71.25 kB / 341.9 MB, free: 21.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07157/0.07312, allocations: 49.23 MB / 391.2 MB, free: 4.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.003286/0.07644, allocations: 1.929 MB / 393.1 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009876/0.07745, allocations: 0.6124 MB / 393.7 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.07756, allocations: 4 kB / 393.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.994e-05/0.07761, allocations: 11.86 kB / 393.7 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.07795, allocations: 71.47 kB / 393.8 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.708e-05/0.07805, allocations: 27.95 kB / 393.8 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.07826, allocations: 135.2 kB / 393.9 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.07838, allocations: 27.97 kB / 394 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.0785, allocations: 43.86 kB / 394 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.07863, allocations: 63.7 kB / 394.1 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.07865, allocations: 4 kB / 394.1 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.595e-05/0.07874, allocations: 12 kB / 394.1 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.07878, allocations: 19.92 kB / 394.1 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.07885, allocations: 51.73 kB / 394.2 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.07902, allocations: 96 kB / 394.3 MB, free: 1.484 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.07903, allocations: 3.938 kB / 394.3 MB, free: 1.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.07904, allocations: 3.938 kB / 394.3 MB, free: 1.477 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.07905, allocations: 0 / 394.3 MB, free: 1.477 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.0005004/0.07956, allocations: 432.8 kB / 394.7 MB, free: 1 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.0796, allocations: 11.89 kB / 394.7 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.07965, allocations: 38.75 kB / 394.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.07969, allocations: 12.75 kB / 394.7 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.07989, allocations: 200.2 kB / 394.9 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.07991, allocations: 384 / 394.9 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.07994, allocations: 15.94 kB / 395 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.0801, allocations: 81.59 kB / 395 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.08011, allocations: 0 / 395 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.08013, allocations: 4 kB / 395 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.08014, allocations: 8 kB / 395 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.08024, allocations: 51.97 kB / 395.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.08087, allocations: 0.4971 MB / 395.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.444e-05/0.08096, allocations: 38.58 kB / 395.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.08099, allocations: 16.97 kB / 395.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.08101, allocations: 7.906 kB / 395.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.08104, allocations: 42.5 kB / 395.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.08105, allocations: 0 / 395.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002261/0.08128, allocations: 111.4 kB / 395.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.08133, allocations: 77.11 kB / 395.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.08147, allocations: 158.2 kB / 396 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.08149, allocations: 25.7 kB / 396.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.08156, allocations: 111.8 kB / 396.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.08159, allocations: 23.8 kB / 396.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.08164, allocations: 25.7 kB / 396.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.08174, allocations: 314.8 kB / 396.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.08179, allocations: 15.98 kB / 396.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.08183, allocations: 20 kB / 396.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.927e-05/0.08193, allocations: 92.25 kB / 396.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.08194, allocations: 0 / 396.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001493/0.08209, allocations: 115.2 kB / 396.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.08214, allocations: 37.64 kB / 396.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.08215, allocations: 7.938 kB / 396.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.08216, allocations: 0 / 396.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.08227, allocations: 11.98 kB / 396.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.08229, allocations: 4 kB / 396.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.08236, allocations: 7.844 kB / 396.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.08238, allocations: 4 kB / 396.8 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 9.031e-05/0.08247, allocations: 144.4 kB / 397 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.08252, allocations: 11.84 kB / 397 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.0827, allocations: 119.6 kB / 397.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.08271, allocations: 4 kB / 397.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.08272, allocations: 0 / 397.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.08273, allocations: 0 / 397.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.08308, allocations: 388.9 kB / 397.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.0831, allocations: 4 kB / 397.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.08315, allocations: 7.984 kB / 397.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.08316, allocations: 0 / 397.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.08318, allocations: 4 kB / 397.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.08318, allocations: 4.031 kB / 397.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.08319, allocations: 0 / 397.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.08336, allocations: 210.1 kB / 397.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.08344, allocations: 96.94 kB / 397.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.08347, allocations: 4 kB / 397.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.08355, allocations: 0 / 397.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.08358, allocations: 15.98 kB / 397.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.08359, allocations: 0 / 397.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.387e-05/0.08369, allocations: 127.8 kB / 398 MB, free: 13.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08369, allocations: 0 / 398 MB, free: 13.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.08395, allocations: 31.91 kB / 398 MB, free: 13.3 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.0004502/0.0844, allocations: 0.746 MB / 398.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.08459, allocations: 99.39 kB / 398.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.0846, allocations: 3.938 kB / 398.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/0.08466, allocations: 75.33 kB / 398.9 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.0003607/0.08503, allocations: 38.8 kB / 398.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.0866, allocations: 1.625 MB / 400.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.08688, allocations: 0.6967 MB / 401.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.556e-05/0.08695, allocations: 17.02 kB / 401.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.08702, allocations: 31.42 kB / 401.3 MB, free: 9.801 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.08702, allocations: 0 / 401.3 MB, free: 9.801 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.104, allocations: 3.035 MB / 404.3 MB, free: 6.773 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/7.797, allocations: 0 / 404.3 MB, free: 6.773 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)