Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",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.00568/0.005679, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001257/0.001257, allocations: 196.7 kB / 16.67 MB, free: 5.969 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.387/1.387, allocations: 205.1 MB / 222.6 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05795/0.05795, allocations: 11.84 MB / 281.8 MB, free: 9.305 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.00208/0.00208, allocations: 71.89 kB / 391.8 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2701, allocations: 49.24 MB / 441.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002638/0.2728, allocations: 1.926 MB / 443 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.275, allocations: 1.868 MB / 444.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.2751, allocations: 1.344 kB / 444.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.2753, allocations: 43.92 kB / 444.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.2755, allocations: 88.05 kB / 445 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.2762, allocations: 333.6 kB / 445.3 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.2764, allocations: 174.4 kB / 445.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2765, allocations: 39.28 kB / 445.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.2766, allocations: 59.34 kB / 445.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.2767, allocations: 70.06 kB / 445.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.2767, allocations: 9.688 kB / 445.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.2771, allocations: 235.1 kB / 445.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.2772, allocations: 30.97 kB / 445.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.528e-05/0.2773, allocations: 67.27 kB / 446 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.2777, allocations: 291.9 kB / 446.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2777, allocations: 0 / 446.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2777, allocations: 0 / 446.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2777, allocations: 0.6562 kB / 446.3 MB, free: 0.8359 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004885/0.2782, allocations: 473.8 kB / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2783, allocations: 17.92 kB / 446.8 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.2783, allocations: 44.64 kB / 446.8 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.2784, allocations: 16.53 kB / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2786, allocations: 211.1 kB / 447 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2786, allocations: 8.688 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.2787, allocations: 18.53 kB / 447.1 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.2789, allocations: 117.8 kB / 447.2 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2789, allocations: 3.938 kB / 447.2 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2789, allocations: 5.125 kB / 447.2 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2789, allocations: 3.125 kB / 447.2 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.2792, allocations: 124.5 kB / 447.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.2804, allocations: 0.9176 MB / 448.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.2806, allocations: 60.69 kB / 448.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.2807, allocations: 31.31 kB / 448.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.2808, allocations: 88.7 kB / 448.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2808, allocations: 36.39 kB / 448.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.2808, allocations: 0 / 448.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002926/0.2811, allocations: 98.06 kB / 448.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2812, allocations: 57.36 kB / 448.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.2814, allocations: 205.4 kB / 448.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.2815, allocations: 30.41 kB / 448.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.2815, allocations: 127.1 kB / 448.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.2816, allocations: 16.25 kB / 449 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.2816, allocations: 30.73 kB / 449 MB, free: 14.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2818, allocations: 326.3 kB / 449.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.841e-05/0.2819, allocations: 28.47 kB / 449.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.2819, allocations: 26.38 kB / 449.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.2821, allocations: 58.91 kB / 449.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2821, allocations: 0.6562 kB / 449.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.2823, allocations: 120.4 kB / 449.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2823, allocations: 4.219 kB / 449.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2823, allocations: 5.312 kB / 449.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2823, allocations: 0 / 449.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.2825, allocations: 29.89 kB / 449.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2825, allocations: 1.781 kB / 449.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.162e-05/0.2825, allocations: 11.02 kB / 449.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2826, allocations: 4.203 kB / 449.6 MB, free: 13.95 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 (10): * Single equations (assignments): 10 * 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.0001056/0.2827, allocations: 123.5 kB / 449.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.2827, allocations: 19.45 kB / 449.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.283, allocations: 94.91 kB / 449.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.283, allocations: 5.344 kB / 449.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.283, allocations: 0 / 449.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.283, allocations: 4.547 kB / 449.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004943/0.2835, allocations: 393.8 kB / 450.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2835, allocations: 1.125 kB / 450.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.2836, allocations: 19.77 kB / 450.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2836, allocations: 2.125 kB / 450.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.2836, allocations: 3.938 kB / 450.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2836, allocations: 1.781 kB / 450.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.2836, allocations: 7.922 kB / 450.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.2838, allocations: 188.5 kB / 450.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.2839, allocations: 92.55 kB / 450.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.2839, allocations: 7.562 kB / 450.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.284, allocations: 0 / 450.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.284, allocations: 15.41 kB / 450.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.284, allocations: 0 / 450.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.2842, allocations: 155.9 kB / 450.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2842, allocations: 0 / 450.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.2846, allocations: 86.47 kB / 450.8 MB, free: 12.91 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 (5): * Single equations (assignments): 5 * 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.0006997/0.2853, allocations: 0.7921 MB / 451.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.2855, allocations: 65.78 kB / 451.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2855, allocations: 3.938 kB / 451.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.616e-05/0.2855, allocations: 25.56 kB / 451.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.2859, allocations: 38.12 kB / 451.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.2879, allocations: 1.835 MB / 453.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.2882, allocations: 0.704 MB / 454.2 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.2883, allocations: 21.91 kB / 454.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.689e-05/0.2884, allocations: 50.41 kB / 454.3 MB, free: 9.809 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2884, allocations: 0 / 454.3 MB, free: 9.809 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.3156, allocations: 5.067 MB / 459.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.039, allocations: 5.844 kB / 459.4 MB, free: 7.125 MB / 334.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)