Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.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.ServoValveMeteringTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest",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.001091/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001101/0.001101, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.118/1.118, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04921/0.04921, allocations: 11.85 MB / 281.2 MB, free: 9.648 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.001318/0.001318, allocations: 63.91 kB / 341.2 MB, free: 22.31 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06172/0.06304, allocations: 49.23 MB / 390.5 MB, free: 5.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004545/0.0676, allocations: 4.48 MB / 394.9 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.07108, allocations: 2.72 MB / 397.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.07141, allocations: 11.94 kB / 397.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.07199, allocations: 414.9 kB / 398.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000598/0.0726, allocations: 394.2 kB / 398.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009969/0.07361, allocations: 0.4942 MB / 399 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006479/0.07426, allocations: 0.8361 MB / 399.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.0745, allocations: 161.1 kB / 400 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.0748, allocations: 318.6 kB / 400.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.0752, allocations: 454.3 kB / 400.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.07526, allocations: 24 kB / 400.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.0756, allocations: 219.8 kB / 401 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.07578, allocations: 231 kB / 401.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.07606, allocations: 397.3 kB / 401.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007787/0.07685, allocations: 0.9928 MB / 402.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.07686, allocations: 0 / 402.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.07687, allocations: 0 / 402.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.07688, allocations: 0 / 402.6 MB, free: 8.895 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001445/0.07833, allocations: 1.221 MB / 403.8 MB, free: 7.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.07837, allocations: 16.03 kB / 403.8 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.459e-05/0.07845, allocations: 74.72 kB / 403.9 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.07858, allocations: 107.6 kB / 404 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006671/0.07925, allocations: 0.6398 MB / 404.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.07928, allocations: 33 kB / 404.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.07934, allocations: 43.94 kB / 404.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006858/0.08003, allocations: 434.4 kB / 405.1 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.08005, allocations: 3.984 kB / 405.1 MB, free: 6.223 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.08009, allocations: 16 kB / 405.1 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.08011, allocations: 16 kB / 405.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007273/0.08084, allocations: 447.8 kB / 405.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.08325, allocations: 2.489 MB / 408.1 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.08389, allocations: 302.5 kB / 408.4 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.08413, allocations: 121.5 kB / 408.5 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.08417, allocations: 19.91 kB / 408.5 MB, free: 2.539 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.0842, allocations: 42.5 kB / 408.5 MB, free: 2.488 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.232e-06/0.08421, allocations: 0 / 408.5 MB, free: 2.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008228/0.08503, allocations: 444.2 kB / 409 MB, free: 2.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.08507, allocations: 55.41 kB / 409 MB, free: 1.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.08638, allocations: 1.364 MB / 410.4 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.08641, allocations: 29.7 kB / 410.4 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.08671, allocations: 456.2 kB / 410.9 MB, free: 112 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.08678, allocations: 90.73 kB / 411 MB, free: 20 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.0869, allocations: 81.58 kB / 411 MB, free: 15.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.08699, allocations: 321.9 kB / 411.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.08724, allocations: 119.9 kB / 411.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.08752, allocations: 191.5 kB / 411.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.08803, allocations: 319.4 kB / 412 MB, free: 14.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.08804, allocations: 0 / 412 MB, free: 14.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007145/0.08876, allocations: 471.7 kB / 412.4 MB, free: 14.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.08879, allocations: 4 kB / 412.4 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.0888, allocations: 4 kB / 412.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.08882, allocations: 4 kB / 412.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.08917, allocations: 87.88 kB / 412.5 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.08919, allocations: 4.25 kB / 412.5 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.08946, allocations: 59.36 kB / 412.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.0895, allocations: 19.98 kB / 412.6 MB, free: 14.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (VR100.data.zetaLaminarKnown,VR10.data.zetaLaminarKnown,VR30.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002782/0.08978, allocations: 297.6 kB / 412.9 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.0899, allocations: 102.8 kB / 413 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007863/0.09069, allocations: 458.4 kB / 413.5 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.09071, allocations: 7.938 kB / 413.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.09072, allocations: 0 / 413.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.09073, allocations: 3.984 kB / 413.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.09133, allocations: 0.6359 MB / 414.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.09134, allocations: 0 / 414.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.09165, allocations: 67.89 kB / 414.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.09166, allocations: 0 / 414.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.09169, allocations: 15.98 kB / 414.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.0917, allocations: 4 kB / 414.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.0917, allocations: 0 / 414.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.09236, allocations: 490.8 kB / 414.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.0926, allocations: 223.8 kB / 414.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.41e-05/0.09269, allocations: 4 kB / 414.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.09293, allocations: 8 kB / 414.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.09299, allocations: 23.97 kB / 414.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.09302, allocations: 15.92 kB / 414.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009508/0.09397, allocations: 0.9716 MB / 415.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09398, allocations: 4 kB / 415.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004475/0.09443, allocations: 171.8 kB / 416.1 MB, free: 10.72 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (32): * Single equations (assignments): 32 * 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.001602/0.09604, allocations: 1.329 MB / 417.4 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005657/0.09662, allocations: 303.8 kB / 417.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.09663, allocations: 0 / 417.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.09689, allocations: 147.8 kB / 417.8 MB, free: 9.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.09771, allocations: 204.6 kB / 418 MB, free: 8.828 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008971/0.1067, allocations: 8.293 MB / 426.3 MB, free: 256 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1019/0.2086, allocations: 1.014 MB / 427.4 MB, free: 40.92 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004419/0.2091, allocations: 148.3 kB / 427.5 MB, free: 40.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.2094, allocations: 318.2 kB / 427.8 MB, free: 40.91 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2094, allocations: 6.438 kB / 427.8 MB, free: 40.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.764/3.973, allocations: 18.82 MB / 446.6 MB, free: 32.89 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/3.973, allocations: 254 kB / 446.9 MB, free: 32.62 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/5.958, allocations: 4 kB / 446.9 MB, free: 32.62 MB / 318.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1)