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.0008131/0.0008131, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004664/0.004665, allocations: 170 kB / 16.26 MB, free: 6.613 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.15/1.15, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0496/0.0496, allocations: 11.85 MB / 282.6 MB, free: 9.605 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.0005149/0.0005148, allocations: 15.31 kB / 343.6 MB, free: 22.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06634/0.06686, allocations: 50.22 MB / 393.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.001912/0.06881, allocations: 1.915 MB / 395.8 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.07116, allocations: 1.909 MB / 397.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.07128, allocations: 3.938 kB / 397.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.07147, allocations: 35.83 kB / 397.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.07171, allocations: 79.44 kB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.0723, allocations: 265.6 kB / 398 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.07249, allocations: 171.1 kB / 398.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.383e-05/0.07258, allocations: 21.56 kB / 398.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.289e-05/0.07266, allocations: 55.78 kB / 398.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.041e-05/0.07276, allocations: 67.64 kB / 398.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.07278, allocations: 4 kB / 398.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.07317, allocations: 219.8 kB / 398.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.07321, allocations: 23.86 kB / 398.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.821e-05/0.0733, allocations: 101.3 kB / 398.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.07365, allocations: 271.6 kB / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.07366, allocations: 0 / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07367, allocations: 0 / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.07368, allocations: 0 / 399 MB, free: 14.64 MB / 302.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.000442/0.07412, allocations: 446.9 kB / 399.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.07417, allocations: 12.03 kB / 399.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.07421, allocations: 46.73 kB / 399.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.07425, allocations: 12.75 kB / 399.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.07446, allocations: 216 kB / 399.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.07448, allocations: 8.375 kB / 399.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.0745, allocations: 11.94 kB / 399.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.07471, allocations: 117.6 kB / 399.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.07473, allocations: 4 kB / 399.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.07475, allocations: 8 kB / 399.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.07475, allocations: 0 / 399.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.07496, allocations: 123.7 kB / 399.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009808/0.07594, allocations: 0.9304 MB / 400.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.07607, allocations: 58.5 kB / 400.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.07613, allocations: 28.97 kB / 401 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.907e-05/0.07624, allocations: 89.09 kB / 401 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.07627, allocations: 34.56 kB / 401.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/0.07627, allocations: 0 / 401.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.000246/0.07652, allocations: 97.53 kB / 401.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.07656, allocations: 63.33 kB / 401.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.07675, allocations: 203.8 kB / 401.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.07677, allocations: 25.7 kB / 401.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.07684, allocations: 119.8 kB / 401.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.07686, allocations: 23.72 kB / 401.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.07689, allocations: 17.72 kB / 401.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.07699, allocations: 326.8 kB / 401.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.07705, allocations: 27.98 kB / 402 MB, free: 11.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.07711, allocations: 35.92 kB / 402 MB, free: 11.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.07722, allocations: 56.84 kB / 402.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.07723, allocations: 0 / 402.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001912/0.07743, allocations: 117.4 kB / 402.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.07745, allocations: 6.5 kB / 402.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.07746, allocations: 0 / 402.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.07747, allocations: 4 kB / 402.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.07756, allocations: 15.98 kB / 402.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.07757, allocations: 0 / 402.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/0.07764, allocations: 15.84 kB / 402.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.07766, allocations: 8.031 kB / 402.2 MB, free: 11.02 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 (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 8.046e-05/0.07774, allocations: 121.8 kB / 402.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.07778, allocations: 15.81 kB / 402.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.07798, allocations: 106.8 kB / 402.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.07799, allocations: 0 / 402.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.078, allocations: 3.984 kB / 402.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.07801, allocations: 0 / 402.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.0784, allocations: 391.2 kB / 402.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.07841, allocations: 0 / 402.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.07846, allocations: 12 kB / 402.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.07847, allocations: 0 / 402.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.07849, allocations: 4 kB / 402.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.07849, allocations: 3.938 kB / 402.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.0785, allocations: 3.938 kB / 402.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.07867, allocations: 192.5 kB / 403.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.07875, allocations: 100.8 kB / 403.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.07877, allocations: 3.984 kB / 403.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.07885, allocations: 12 kB / 403.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.07887, allocations: 3.938 kB / 403.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.07888, allocations: 4 kB / 403.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.07901, allocations: 155 kB / 403.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.07902, allocations: 0 / 403.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.07934, allocations: 91.86 kB / 403.4 MB, free: 9.703 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 (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.0005459/0.07989, allocations: 0.7833 MB / 404.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.08005, allocations: 59.98 kB / 404.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.08006, allocations: 0 / 404.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.652e-05/0.08011, allocations: 27.92 kB / 404.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.08047, allocations: 44.05 kB / 404.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.08216, allocations: 1.876 MB / 406.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.08239, allocations: 0.7088 MB / 406.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.625e-05/0.08247, allocations: 25.67 kB / 406.9 MB, free: 6.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.08255, allocations: 43.42 kB / 407 MB, free: 5.996 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08255, allocations: 0 / 407 MB, free: 5.996 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.09665, allocations: 4.72 MB / 411.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.09685, allocations: 212.5 kB / 411.9 MB, free: 1.086 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/1.695, allocations: 0 / 411.9 MB, free: 1.086 MB / 302.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)