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.001188/0.001188, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 196 kB / 16.53 MB, free: 6.664 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.342/1.342, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05044/0.05044, allocations: 11.84 MB / 281.6 MB, free: 9.422 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.00147/0.00147, allocations: 71.44 kB / 341.9 MB, free: 21.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06489/0.06637, allocations: 49.22 MB / 391.2 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002746/0.06915, allocations: 1.936 MB / 393.1 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.07147, allocations: 1.85 MB / 394.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.07161, allocations: 0 / 394.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.07186, allocations: 51.67 kB / 395 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.07216, allocations: 91.31 kB / 395.1 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007677/0.07294, allocations: 339 kB / 395.4 MB, free: 332 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.07314, allocations: 179 kB / 395.6 MB, free: 152 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.07325, allocations: 33.55 kB / 395.6 MB, free: 120 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.433e-05/0.07333, allocations: 59.78 kB / 395.7 MB, free: 60 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.07345, allocations: 71.72 kB / 395.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.07348, allocations: 12 kB / 395.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.07389, allocations: 235.6 kB / 396 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.07393, allocations: 19.94 kB / 396 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.796e-05/0.07402, allocations: 71.67 kB / 396.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.07441, allocations: 279.2 kB / 396.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.07443, allocations: 7.984 kB / 396.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.07444, allocations: 4 kB / 396.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.07445, allocations: 0 / 396.4 MB, free: 15.37 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.0005035/0.07496, allocations: 462.8 kB / 396.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.075, allocations: 15.89 kB / 396.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.07505, allocations: 42.73 kB / 396.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.07511, allocations: 20.69 kB / 396.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.07532, allocations: 220 kB / 397.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.07534, allocations: 4.375 kB / 397.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.07537, allocations: 15.94 kB / 397.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.07559, allocations: 125.6 kB / 397.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.0756, allocations: 0 / 397.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.07562, allocations: 0 / 397.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.07563, allocations: 4 kB / 397.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.07583, allocations: 119.9 kB / 397.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009829/0.07682, allocations: 0.9228 MB / 398.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.07695, allocations: 54.56 kB / 398.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.07701, allocations: 32.91 kB / 398.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.07713, allocations: 81.11 kB / 398.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.07716, allocations: 38.55 kB / 398.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.07717, allocations: 4 kB / 398.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002577/0.07743, allocations: 97.5 kB / 398.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.07747, allocations: 51.41 kB / 398.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.07765, allocations: 207.7 kB / 398.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.07767, allocations: 29.7 kB / 398.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.07774, allocations: 119.8 kB / 399 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.07776, allocations: 19.8 kB / 399 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.07781, allocations: 25.7 kB / 399 MB, free: 12.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.07791, allocations: 334.8 kB / 399.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.078, allocations: 31.92 kB / 399.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.07807, allocations: 24 kB / 399.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.07818, allocations: 64.97 kB / 399.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.07819, allocations: 0 / 399.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.07838, allocations: 117.4 kB / 399.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.0784, allocations: 4 kB / 399.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.07841, allocations: 0 / 399.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.07843, allocations: 0 / 399.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.07852, allocations: 19.98 kB / 399.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.07854, allocations: 4.031 kB / 399.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.0786, allocations: 11.84 kB / 399.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.07862, allocations: 11.98 kB / 399.7 MB, free: 11.73 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.04e-05/0.07871, allocations: 121.7 kB / 399.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.07875, allocations: 15.81 kB / 399.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.07896, allocations: 106.9 kB / 399.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.07898, allocations: 4 kB / 399.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.07899, allocations: 0 / 399.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.07899, allocations: 0 / 399.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.07939, allocations: 395.2 kB / 400.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.0794, allocations: 0 / 400.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.07946, allocations: 11.98 kB / 400.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.07947, allocations: 0 / 400.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.07948, allocations: 0 / 400.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.07949, allocations: 7.938 kB / 400.3 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.07949, allocations: 3.938 kB / 400.3 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.07966, allocations: 176.3 kB / 400.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.07973, allocations: 100.9 kB / 400.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.07977, allocations: 7.984 kB / 400.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.07985, allocations: 0 / 400.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.07987, allocations: 7.938 kB / 400.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.07988, allocations: 3.938 kB / 400.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.08, allocations: 159 kB / 400.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08001, allocations: 0 / 400.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.08033, allocations: 83.92 kB / 400.8 MB, free: 10.43 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.0005414/0.08088, allocations: 0.8028 MB / 401.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.08105, allocations: 55.92 kB / 401.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.08106, allocations: 0 / 401.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/0.08111, allocations: 23.98 kB / 401.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.08148, allocations: 54.92 kB / 401.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.08319, allocations: 1.826 MB / 403.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.08342, allocations: 0.7085 MB / 404.3 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.495e-05/0.0835, allocations: 29.47 kB / 404.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.08357, allocations: 43.64 kB / 404.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.08358, allocations: 0 / 404.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.598/2.682, allocations: 5.015 MB / 409.4 MB, free: 1.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/14.22, allocations: 8.016 kB / 409.4 MB, free: 1.742 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)