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.007339/0.007345, allocations: 104.7 kB / 15.74 MB, free: 5.988 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.001675/0.001675, allocations: 194.8 kB / 16.67 MB, free: 5.91 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.291/1.291, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05398/0.05398, allocations: 11.85 MB / 281.8 MB, free: 9.188 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.001476/0.001476, allocations: 72.47 kB / 391.8 MB, free: 3.953 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2578, allocations: 49.21 MB / 441.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.00259/0.2604, allocations: 1.936 MB / 443 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008505/0.2613, allocations: 0.6201 MB / 443.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.2613, allocations: 2.469 kB / 443.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.302e-05/0.2614, allocations: 13.16 kB / 443.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.2617, allocations: 67.45 kB / 443.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.973e-05/0.2618, allocations: 22.22 kB / 443.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.262, allocations: 131.1 kB / 443.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2622, allocations: 34.95 kB / 443.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.666e-05/0.2623, allocations: 56.06 kB / 443.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.2624, allocations: 55.75 kB / 444 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.2624, allocations: 5.375 kB / 444 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-05/0.2625, allocations: 13.61 kB / 444 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.2625, allocations: 21.17 kB / 444 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.2626, allocations: 47.83 kB / 444.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.2627, allocations: 102.6 kB / 444.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2627, allocations: 0 / 444.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2627, allocations: 0 / 444.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2628, allocations: 0 / 444.2 MB, free: 2.082 MB / 318.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.0003905/0.2631, allocations: 428.1 kB / 444.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2632, allocations: 17.05 kB / 444.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.877e-05/0.2632, allocations: 38.89 kB / 444.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.2633, allocations: 11.03 kB / 444.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.2635, allocations: 199.2 kB / 444.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.2635, allocations: 6 kB / 444.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.2635, allocations: 17.16 kB / 444.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.2637, allocations: 82.92 kB / 444.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2637, allocations: 4 kB / 445 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.2637, allocations: 5.375 kB / 445 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.2637, allocations: 1.125 kB / 445 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.978e-05/0.2638, allocations: 59.58 kB / 445 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.2643, allocations: 0.4974 MB / 445.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.032e-05/0.2644, allocations: 42.45 kB / 445.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.2644, allocations: 17.52 kB / 445.6 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.2644, allocations: 5.438 kB / 445.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.2645, allocations: 34.5 kB / 445.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2645, allocations: 1.719 kB / 445.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002013/0.2647, allocations: 103.7 kB / 445.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.2647, allocations: 82.27 kB / 445.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2648, allocations: 158.2 kB / 446 MB, free: 420 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.2648, allocations: 25.7 kB / 446 MB, free: 388 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.2649, allocations: 103.8 kB / 446.1 MB, free: 288 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.2649, allocations: 24.62 kB / 446.1 MB, free: 268 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.265, allocations: 23.12 kB / 446.1 MB, free: 248 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.265, allocations: 320.4 kB / 446.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.956e-05/0.2651, allocations: 16 kB / 446.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.553e-05/0.2651, allocations: 21.75 kB / 446.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.897e-05/0.2652, allocations: 94.97 kB / 446.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2652, allocations: 0 / 446.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001457/0.2654, allocations: 110 kB / 446.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.2654, allocations: 39.14 kB / 446.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2654, allocations: 6.031 kB / 446.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2655, allocations: 0 / 446.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.2656, allocations: 12.58 kB / 446.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2656, allocations: 0.7969 kB / 446.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.2656, allocations: 10.56 kB / 446.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.2656, allocations: 2.062 kB / 446.7 MB, free: 15.69 MB / 334.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.904e-05/0.2657, allocations: 150 kB / 446.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.2658, allocations: 12.97 kB / 446.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.266, allocations: 113.6 kB / 447 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.266, allocations: 1.984 kB / 447 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.266, allocations: 3.938 kB / 447 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.266, allocations: 4.5 kB / 447 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.2664, allocations: 389.7 kB / 447.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2664, allocations: 0 / 447.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.057e-05/0.2664, allocations: 16.58 kB / 447.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2664, allocations: 1.031 kB / 447.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2665, allocations: 5.953 kB / 447.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2665, allocations: 1.094 kB / 447.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2665, allocations: 0 / 447.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.2666, allocations: 204.5 kB / 447.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.2667, allocations: 93.91 kB / 447.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.2667, allocations: 1.281 kB / 447.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.2668, allocations: 1.766 kB / 447.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.2669, allocations: 16.06 kB / 447.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.2669, allocations: 1.438 kB / 447.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.559e-05/0.267, allocations: 126 kB / 447.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.267, allocations: 0 / 447.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.2672, allocations: 36.36 kB / 447.9 MB, free: 14.63 MB / 334.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.0004141/0.2676, allocations: 0.7466 MB / 448.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.2678, allocations: 107.8 kB / 448.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2678, allocations: 0 / 448.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.2679, allocations: 70.98 kB / 448.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.2682, allocations: 39.78 kB / 448.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2697, allocations: 1.614 MB / 450.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.2699, allocations: 0.6979 MB / 451.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.317e-05/0.27, allocations: 14.34 kB / 451.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.27, allocations: 28.67 kB / 451.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.27, allocations: 0.9688 kB / 451.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.2876, allocations: 3.104 MB / 454.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/7.723, allocations: 5.312 kB / 454.3 MB, free: 10.17 MB / 334.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)