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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 102.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05856/0.05856, allocations: 12 MB / 293.7 MB, free: 11.08 MB / 238.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002163/0.002163, allocations: 80.95 kB / 411 MB, free: 44.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07611/0.07828, allocations: 51.89 MB / 462.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.003278/0.08155, allocations: 1.939 MB / 464.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.08264, allocations: 0.6202 MB / 465.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.08272, allocations: 4 kB / 465.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.352e-05/0.08278, allocations: 11.86 kB / 465.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.0831, allocations: 75.45 kB / 465.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.788e-05/0.0832, allocations: 15.98 kB / 465.6 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.08342, allocations: 143.2 kB / 465.7 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.08352, allocations: 20.27 kB / 465.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.08363, allocations: 47.8 kB / 465.8 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.08375, allocations: 55.77 kB / 465.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.08376, allocations: 8 kB / 465.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.08383, allocations: 19.98 kB / 465.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.08385, allocations: 11.94 kB / 465.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.08392, allocations: 55.72 kB / 465.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.08412, allocations: 103.5 kB / 466 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.08412, allocations: 0 / 466 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.08412, allocations: 0 / 466 MB, free: 5.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.08413, allocations: 0 / 466 MB, free: 5.246 MB / 334.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.0005407/0.08467, allocations: 436.6 kB / 466.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.08471, allocations: 11.89 kB / 466.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.962e-05/0.08475, allocations: 38.75 kB / 466.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.08479, allocations: 8.891 kB / 466.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.08508, allocations: 200.2 kB / 466.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.08509, allocations: 4.375 kB / 466.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.08511, allocations: 15.88 kB / 466.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.08529, allocations: 81.64 kB / 466.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.08529, allocations: 4 kB / 466.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.08531, allocations: 4 kB / 466.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.08532, allocations: 4 kB / 466.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.08543, allocations: 47.98 kB / 466.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.08614, allocations: 0.5126 MB / 467.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.473e-05/0.08622, allocations: 34.56 kB / 467.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.08625, allocations: 12.98 kB / 467.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.08627, allocations: 4 kB / 467.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.08631, allocations: 38.5 kB / 467.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.08631, allocations: 3.938 kB / 467.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002502/0.08656, allocations: 107.5 kB / 467.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.08662, allocations: 85.09 kB / 467.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.08678, allocations: 158.2 kB / 467.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.0868, allocations: 25.7 kB / 467.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.08688, allocations: 108 kB / 468 MB, free: 3.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.0869, allocations: 19.78 kB / 468 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.08694, allocations: 25.7 kB / 468 MB, free: 3.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.08709, allocations: 318.8 kB / 468.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.08713, allocations: 19.98 kB / 468.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.08716, allocations: 15.98 kB / 468.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.08728, allocations: 96.2 kB / 468.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.08728, allocations: 0 / 468.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001623/0.08744, allocations: 115.3 kB / 468.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.08749, allocations: 37.64 kB / 468.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.08749, allocations: 0 / 468.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.08751, allocations: 7.984 kB / 468.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.08762, allocations: 11.98 kB / 468.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.08762, allocations: 0 / 468.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.08769, allocations: 7.953 kB / 468.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.0877, allocations: 0 / 468.6 MB, free: 2.355 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 0.0001188/0.08782, allocations: 155.4 kB / 468.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.08786, allocations: 15.89 kB / 468.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.08805, allocations: 115.6 kB / 468.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.08805, allocations: 0 / 468.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.08805, allocations: 0 / 468.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.08806, allocations: 0 / 468.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.08849, allocations: 389 kB / 469.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.08849, allocations: 0 / 469.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.08854, allocations: 11.98 kB / 469.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.08855, allocations: 0 / 469.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.08855, allocations: 4.031 kB / 469.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.08856, allocations: 4 kB / 469.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.08856, allocations: 0 / 469.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.08876, allocations: 210.1 kB / 469.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.08884, allocations: 93.05 kB / 469.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.08886, allocations: 0 / 469.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/0.08896, allocations: 8 kB / 469.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.08898, allocations: 7.984 kB / 469.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.08899, allocations: 4 kB / 469.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.0891, allocations: 127.2 kB / 469.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0891, allocations: 0 / 469.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.08935, allocations: 35.83 kB / 469.8 MB, free: 1.062 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.0005904/0.08994, allocations: 0.7539 MB / 470.5 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.09011, allocations: 91.39 kB / 470.6 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.09012, allocations: 0 / 470.6 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.722e-05/0.09018, allocations: 75.33 kB / 470.7 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.09053, allocations: 25.14 kB / 470.7 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.09237, allocations: 1.631 MB / 472.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.09272, allocations: 0.6928 MB / 473 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.106e-05/0.09279, allocations: 17.08 kB / 473.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.09285, allocations: 27.42 kB / 473.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of SimCode: time 5.92e-07/0.09285, allocations: 3.938 kB / 473.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.1179, allocations: 3.104 MB / 476.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.036, allocations: 9.484 kB / 476.2 MB, free: 10.49 MB / 350.1 MB " [Timeout remaining time 652] (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 --stepSize=0.4 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.445712503045797] Failed to read output from testmodel.py, exit status != 0: 8.105693862773478 8.12910258 8.040714569 Calling exit ...