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.001184/0.001184, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001211/0.001211, allocations: 191.8 kB / 16.25 MB, free: 6.617 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.199/1.199, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05014/0.05014, allocations: 11.83 MB / 281.3 MB, free: 9.609 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.001359/0.001359, allocations: 79.27 kB / 341.4 MB, free: 22.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06743/0.0688, allocations: 49.22 MB / 390.6 MB, free: 4.926 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003115/0.07195, allocations: 2.254 MB / 392.9 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.07434, allocations: 1.893 MB / 394.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.07449, allocations: 4 kB / 394.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.07471, allocations: 31.81 kB / 394.8 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.07498, allocations: 83.45 kB / 394.9 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006694/0.07566, allocations: 297.9 kB / 395.2 MB, free: 352 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.07586, allocations: 179.1 kB / 395.4 MB, free: 172 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.07596, allocations: 29.56 kB / 395.4 MB, free: 144 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.07605, allocations: 59.78 kB / 395.5 MB, free: 84 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.07615, allocations: 71.64 kB / 395.5 MB, free: 12 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.07617, allocations: 8 kB / 395.5 MB, free: 4 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000402/0.07658, allocations: 223.8 kB / 395.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.07662, allocations: 27.86 kB / 395.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.07669, allocations: 79.59 kB / 395.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.07706, allocations: 279.3 kB / 396.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.07708, allocations: 4 kB / 396.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.07708, allocations: 4 kB / 396.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.07709, allocations: 0 / 396.1 MB, free: 15.4 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.0004782/0.07758, allocations: 466.8 kB / 396.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.07762, allocations: 11.89 kB / 396.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.07766, allocations: 42.75 kB / 396.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.07771, allocations: 16.75 kB / 396.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.07791, allocations: 220 kB / 396.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.07793, allocations: 12.38 kB / 396.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.07796, allocations: 7.938 kB / 396.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.07818, allocations: 129.6 kB / 397 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.07819, allocations: 0 / 397 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.07821, allocations: 4 kB / 397 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.07822, allocations: 4 kB / 397 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.07841, allocations: 115.9 kB / 397.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00099/0.07941, allocations: 0.9305 MB / 398.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.07953, allocations: 50.56 kB / 398.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.07959, allocations: 28.97 kB / 398.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.0797, allocations: 81.11 kB / 398.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.07973, allocations: 38.56 kB / 398.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.07974, allocations: 4 kB / 398.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002396/0.07999, allocations: 101.4 kB / 398.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.08003, allocations: 55.34 kB / 398.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.08021, allocations: 207.8 kB / 398.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.08023, allocations: 25.7 kB / 398.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.0803, allocations: 123.8 kB / 398.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.08032, allocations: 15.8 kB / 398.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.08037, allocations: 25.72 kB / 398.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.08048, allocations: 338.8 kB / 399.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.546e-05/0.08054, allocations: 20 kB / 399.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.08061, allocations: 35.92 kB / 399.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.94e-05/0.08071, allocations: 56.84 kB / 399.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.08072, allocations: 4 kB / 399.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.08091, allocations: 113.4 kB / 399.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.08093, allocations: 4 kB / 399.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.08094, allocations: 0 / 399.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.08095, allocations: 4 kB / 399.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.08105, allocations: 15.98 kB / 399.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.08106, allocations: 4.031 kB / 399.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.08112, allocations: 11.84 kB / 399.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.08114, allocations: 8 kB / 399.4 MB, free: 11.76 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.542e-05/0.08123, allocations: 121.8 kB / 399.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.08127, allocations: 15.81 kB / 399.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.08148, allocations: 111 kB / 399.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.08149, allocations: 4 kB / 399.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.0815, allocations: 0 / 399.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.08151, allocations: 4 kB / 399.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.08192, allocations: 395.1 kB / 400.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.08193, allocations: 0 / 400.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/0.08198, allocations: 8 kB / 400.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.08199, allocations: 3.984 kB / 400.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.08201, allocations: 7.938 kB / 400.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.08201, allocations: 0 / 400.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.08202, allocations: 7.969 kB / 400.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.08219, allocations: 184.2 kB / 400.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.08227, allocations: 96.91 kB / 400.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.0823, allocations: 0 / 400.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.08238, allocations: 7.984 kB / 400.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.0824, allocations: 3.938 kB / 400.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.08241, allocations: 4 kB / 400.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.08253, allocations: 159 kB / 400.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.08254, allocations: 0 / 400.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.08286, allocations: 83.86 kB / 400.6 MB, free: 10.45 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.0005527/0.08342, allocations: 0.7911 MB / 401.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.08358, allocations: 59.91 kB / 401.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.0836, allocations: 4 kB / 401.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.705e-05/0.08365, allocations: 23.98 kB / 401.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.084, allocations: 48.28 kB / 401.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.08572, allocations: 1.865 MB / 403.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.08597, allocations: 0.7085 MB / 404.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.754e-05/0.08606, allocations: 25.67 kB / 404.1 MB, free: 6.785 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.08613, allocations: 39.42 kB / 404.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.08613, allocations: 0 / 404.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.09985, allocations: 4.937 MB / 409.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/0.1001, allocations: 201.9 kB / 409.3 MB, free: 1.621 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.728, allocations: 0 / 409.3 MB, free: 1.621 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)