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.0009199/0.0009198, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.000925/0.000925, allocations: 192.2 kB / 16.13 MB, free: 6.719 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.105/1.105, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04878/0.04878, allocations: 11.85 MB / 281.2 MB, free: 9.645 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.001316/0.001316, allocations: 75.89 kB / 341.3 MB, free: 22.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06313/0.06445, allocations: 49.22 MB / 390.5 MB, free: 5.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002652/0.06712, allocations: 2.262 MB / 392.7 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.06925, allocations: 1.955 MB / 394.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.06933, allocations: 11.88 kB / 394.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.06951, allocations: 31.83 kB / 394.7 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.06969, allocations: 71.52 kB / 394.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.07016, allocations: 263.2 kB / 395.1 MB, free: 436 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.0703, allocations: 167.1 kB / 395.2 MB, free: 268 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.973e-05/0.07039, allocations: 21.55 kB / 395.2 MB, free: 248 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.451e-05/0.07046, allocations: 55.73 kB / 395.3 MB, free: 192 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.07054, allocations: 75.69 kB / 395.4 MB, free: 116 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.07056, allocations: 8 kB / 395.4 MB, free: 108 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.07094, allocations: 219.7 kB / 395.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.07097, allocations: 23.91 kB / 395.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.07104, allocations: 71.61 kB / 395.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.07137, allocations: 279.6 kB / 396 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.07138, allocations: 0 / 396 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.81e-07/0.07138, allocations: 0 / 396 MB, free: 15.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.07139, allocations: 0 / 396 MB, free: 15.52 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.0004354/0.07183, allocations: 470.8 kB / 396.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.07187, allocations: 12.03 kB / 396.4 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.07191, allocations: 46.69 kB / 396.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.07195, allocations: 16.75 kB / 396.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.07213, allocations: 208.1 kB / 396.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.07215, allocations: 8.375 kB / 396.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.07217, allocations: 11.94 kB / 396.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.07238, allocations: 129.6 kB / 396.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.07239, allocations: 0 / 396.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.07241, allocations: 0 / 396.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.07242, allocations: 7.984 kB / 396.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.0726, allocations: 119.9 kB / 397 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009458/0.07356, allocations: 0.9266 MB / 397.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.07368, allocations: 62.44 kB / 397.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.07374, allocations: 28.97 kB / 398 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.07385, allocations: 81.11 kB / 398.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.07388, allocations: 38.56 kB / 398.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.07389, allocations: 0 / 398.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002315/0.07412, allocations: 97.48 kB / 398.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.07416, allocations: 51.41 kB / 398.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.07434, allocations: 211.8 kB / 398.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.07436, allocations: 25.7 kB / 398.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.07442, allocations: 123.8 kB / 398.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.07444, allocations: 19.73 kB / 398.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.0745, allocations: 33.59 kB / 398.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.0746, allocations: 334.8 kB / 399 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.07466, allocations: 20 kB / 399 MB, free: 12.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/0.07473, allocations: 31.98 kB / 399 MB, free: 12.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.07484, allocations: 64.88 kB / 399.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.07485, allocations: 0 / 399.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001798/0.07504, allocations: 113.4 kB / 399.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.07505, allocations: 4 kB / 399.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.07506, allocations: 4 kB / 399.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/0.07507, allocations: 0 / 399.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.07516, allocations: 15.98 kB / 399.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.07517, allocations: 4 kB / 399.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.07524, allocations: 7.844 kB / 399.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.07525, allocations: 8 kB / 399.2 MB, free: 11.88 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 7.893e-05/0.07534, allocations: 129.7 kB / 399.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.07538, allocations: 15.81 kB / 399.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.07558, allocations: 98.88 kB / 399.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.07559, allocations: 0 / 399.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.07559, allocations: 0 / 399.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.0756, allocations: 4 kB / 399.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.07599, allocations: 395.2 kB / 399.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.076, allocations: 0 / 399.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.07605, allocations: 8 kB / 399.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.07606, allocations: 3.984 kB / 399.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.07608, allocations: 4.312 kB / 399.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.07608, allocations: 11.88 kB / 399.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.07609, allocations: 3.938 kB / 399.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.07625, allocations: 180.3 kB / 400.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.07633, allocations: 100.8 kB / 400.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.07636, allocations: 4 kB / 400.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.07643, allocations: 4 kB / 400.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.07645, allocations: 7.922 kB / 400.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.07646, allocations: 4 kB / 400.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.07658, allocations: 155 kB / 400.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.07658, allocations: 0 / 400.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.07688, allocations: 83.92 kB / 400.4 MB, free: 10.58 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.0005099/0.0774, allocations: 0.7912 MB / 401.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.07756, allocations: 63.84 kB / 401.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.07757, allocations: 4 kB / 401.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.07763, allocations: 27.98 kB / 401.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.07795, allocations: 35.92 kB / 401.3 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.0796, allocations: 1.855 MB / 403.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.07983, allocations: 0.7127 MB / 403.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.69e-05/0.07991, allocations: 25.66 kB / 403.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.07998, allocations: 47.42 kB / 404 MB, free: 6.875 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.07998, allocations: 0 / 404 MB, free: 6.875 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.093, allocations: 4.809 MB / 408.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.09321, allocations: 201.2 kB / 409 MB, free: 1.852 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.688, allocations: 7.938 kB / 409 MB, free: 1.844 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)